10 lines
381 B
JavaScript
10 lines
381 B
JavaScript
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;/)
|
||
|
|
})
|