This commit is contained in:
2026-08-04 14:15:32 +08:00
parent 6b876ed1af
commit d1ac7d7c17
6 changed files with 46 additions and 4 deletions
+4
View File
@@ -5,6 +5,10 @@ import { describe, expect, it } from 'vitest'
const config = readFileSync(resolve(process.cwd(), 'nginx/default.conf.template'), 'utf8')
describe('admin nginx deployment config', () => {
it('allows qualification uploads with multipart overhead through the API proxy', () => {
expect(config).toContain('client_max_body_size 6m;')
})
it('prevents the application shell from retaining stale chunk references', () => {
expect(config).toContain('location = /index.html')
expect(config).toContain('Cache-Control "no-cache, no-store, must-revalidate"')