|
|
@@ -16,7 +16,7 @@ module.exports = {
|
|
|
host: "0.0.0.0",
|
|
|
proxy: {
|
|
|
"/prod-api": {
|
|
|
- target: "http://111.172.230.93:9876", // 后台接口域名
|
|
|
+ target: "http://47.103.79.143:9876", // 后台接口域名
|
|
|
changeOrigin: true, // 开启代理,在本地创建一个虚拟服务端
|
|
|
pathRewrite: {
|
|
|
"^/prod-api": "", // 重写路径,去掉路径前缀 '/api'
|