Files
client-web/src/deployment/nginxConfig.test.mjs
T

10 lines
381 B
JavaScript
Raw Normal View History

2026-08-04 14:15:24 +08:00
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import test from 'node:test'
const config = readFileSync(new URL('../../nginx/default.conf.template', import.meta.url), 'utf8')
test('allows qualification uploads with multipart overhead through the API proxy', () => {
assert.match(config, /location \/api\/ \{[\s\S]*?client_max_body_size 6m;/)
})