feat: 首次提交NBA前端项目

This commit is contained in:
2026-05-14 22:16:25 +08:00
parent 5f48a8a55e
commit 3533904ced
26 changed files with 8668 additions and 434 deletions

View File

@@ -15,4 +15,22 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
server: {
proxy: {
'/api': {
// target: 'http://116.62.173.2:9005',
target: 'http://localhost:9005',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api/, '/api'),
},
'/user': {
// target: 'http://116.62.173.2:9005',
target: 'http://localhost:9005',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/user/, '/user'),
},
},
},
})