内容更改

This commit is contained in:
dzl
2025-09-26 17:09:26 +08:00
parent 662832364b
commit 207438f2f8
9 changed files with 777 additions and 176 deletions

View File

@@ -16,16 +16,17 @@ export default defineConfig({
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://192.168.0.11:3000',
changeOrigin: true
target: 'http://192.168.0.12:3008',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
'/mid': {
target: 'http://localhost:3005',
target: 'http://192.168.0.4:3005/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/mid/, '')
},
'/uploads': {
target: 'http://localhost:3000',
target: 'http://192.168.0.12:3008',
changeOrigin: true
}
}