更改prod配置
This commit is contained in:
@@ -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/, ''),
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user