打架斗殴模型集成

This commit is contained in:
lubimu-647
2026-06-05 09:27:01 +08:00
parent 6819e57d79
commit 32e5dfa973
7 changed files with 632 additions and 87 deletions

View File

@@ -10,19 +10,29 @@ export default defineConfig({
}
},
server: {
host: '0.0.0.0',
port: 3001,
proxy: {
'/api': {
target: 'http://localhost:8000',
target: 'http://localhost:8001',
changeOrigin: true
},
'/static': {
target: 'http://localhost:8000',
target: 'http://localhost:8001',
changeOrigin: true
},
'/ws': {
target: 'ws://localhost:8000',
ws: true
},
'/docker-api': {
target: 'http://localhost:8081',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/docker-api/, '')
},
'/docker-output': {
target: 'http://localhost:8001',
changeOrigin: true
}
}
}