fix(GOV-009): 完成脚手架审查整改

This commit is contained in:
2026-08-13 18:30:57 +08:00
parent dcdf634457
commit 3a8120a33a
47 changed files with 752 additions and 101 deletions
+7
View File
@@ -37,5 +37,12 @@ export default defineConfig({
host: '127.0.0.1',
port: 5173,
strictPort: true,
proxy: {
// 本地浏览器始终请求同源 /api,由 Vite 转发到 NestJS,避免开发环境放宽 CORS。
'/api': {
target: 'http://127.0.0.1:3000',
changeOrigin: false,
},
},
},
});