部署代理问题
This commit is contained in:
+2
-2
@@ -12,13 +12,13 @@ module.exports = defineConfig({
|
||||
'^/tiaojie': '' // 将/api前缀重写为空字符串
|
||||
},
|
||||
},
|
||||
'/tiaojieprod': {
|
||||
'/tjformal': {
|
||||
// target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
|
||||
target: 'http://121.40.189.20:7001',
|
||||
changeOrigin: true, // 是否改变Origin头信息
|
||||
secure : false,
|
||||
pathRewrite: {
|
||||
'^/tiaojie': '' // 将/api前缀重写为空字符串
|
||||
'^/tjformal': '' // 将/api前缀重写为空字符串
|
||||
},
|
||||
},
|
||||
'/zhongcai': {
|
||||
|
||||
Reference in New Issue
Block a user