修改端口9001为9002

This commit is contained in:
xdragon 2024-09-05 15:33:38 +08:00
parent 8497f652bc
commit a5cf527e8d
47 changed files with 109 additions and 109 deletions

View file

@ -21,16 +21,16 @@ export default defineConfig({
server:{
proxy: {
'/socket.io/*': {
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
'/admin-auth/': {
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
},
'/stats': {
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
}
}