更改prod配置

This commit is contained in:
Auora
2025-10-29 14:54:55 +08:00
parent e58f2d807b
commit 2a83719b87
3 changed files with 6 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ export default defineConfig (({mode, command}) => {
target: 'http://localhost:5000',
changeOrigin: true,
rewrite: p => p.replace (/^\/ybplugin/, ''),
},
'/prod-api': {
target: 'http://localhost:18080/openhis',
changeOrigin: true,
rewrite: p => p.replace (/^\/prod-api/, ''),
}
},
},