多环境配置

This commit is contained in:
2025-12-02 09:25:35 +08:00
parent 173cbc7f87
commit ba65ab303b
11 changed files with 141 additions and 10 deletions

View File

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