Release/test 合并上生产 #1

Merged
admin merged 236 commits from release/test into main 2026-09-17 11:51:50 +08:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 8575df0793 - Show all commits
+9
View File
@@ -0,0 +1,9 @@
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import test from 'node:test'
const configSource = readFileSync(new URL('../../vite.config.ts', import.meta.url), 'utf8')
test('fails fast when the dedicated client development port is occupied', () => {
assert.match(configSource, /server:\s*\{\s*strictPort: true,/)
})
+1
View File
@@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => {
},
},
server: {
strictPort: true,
proxy: {
'/api': {
target: proxyTarget,