|
|
@@ -12,14 +12,14 @@ module.exports = defineConfig({
|
|
|
allowedHosts: 'all',
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
- target: 'http://api.xibohong.cn/api/',
|
|
|
+ target: 'http://api.gmcyy.com/api/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/api': ''
|
|
|
}
|
|
|
},
|
|
|
'/adminApi': {
|
|
|
- target: 'http://api.xibohong.cn/api/',
|
|
|
+ target: 'http://api.gmcyy.com/api/',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
'^/adminApi': ''
|