fix:修改接口地址为IP

dev
wangqing 7 months ago
parent 34e7dec028
commit f3f6d19e6e

@ -19,7 +19,7 @@ module.exports = {
"/": { "/": {
// target: 'http://39.103.180.196:9011', // 接口域名 // target: 'http://39.103.180.196:9011', // 接口域名
// target: "http://localhost:9011", // 接口域名 // target: "http://localhost:9011", // 接口域名
target: "http://testapi.indie.cn:9012", // 接口域名 target: "http://39.103.180.196:9012", // 接口域名
changeOrigin: true, //是否跨域 changeOrigin: true, //是否跨域
pathRewrite: { pathRewrite: {
"^/": "/" //需要rewrite重写的, "^/": "/" //需要rewrite重写的,

@ -8,5 +8,5 @@
"use strict"; "use strict";
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
BASE_API: '"http://testapi.indie.cn:9012"' BASE_API: '"http://39.103.180.196:9012"'
}; };

Loading…
Cancel
Save