|
|
@@ -1,13 +1,13 @@
|
|
|
/********** 本地环境 start **********/
|
|
|
const pro = {
|
|
|
- baseURL: 'https://kf1.mtavip.com/api',
|
|
|
- host: '192.168.0.28',
|
|
|
+ baseURL: 'https://www.chengxiangjiaoyu.com/api/v10',
|
|
|
+ host: '0.0.0.0',
|
|
|
//环境变量设置 新闻 拼路径时的根级别路径 多用于a标签 href属性
|
|
|
- url:'https://kf1.mtavip.com'
|
|
|
+ url:'https://www.chengxiangjiaoyu.com'
|
|
|
|
|
|
}
|
|
|
// build 改为true
|
|
|
-const isPro = false;
|
|
|
+const isPro = true;
|
|
|
|
|
|
export default {
|
|
|
/*
|
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
* 环境变量设置 新闻 拼路径时的根级别路径 多用于a标签 href属性
|
|
|
*/
|
|
|
env: {
|
|
|
- baseUrl: isPro?pro.url:'http://localhost:3000'
|
|
|
+ baseUrl: isPro?pro.url:'https://www.chengxiangjiaoyu.com'
|
|
|
},
|
|
|
/**
|
|
|
* loading 进度条样式
|
|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
axios: {
|
|
|
// node连接服务器地址(调用后台接口地址)
|
|
|
// baseURL: 'http://182.92.186.22:83/api',
|
|
|
- baseURL: isPro?pro.baseURL:'https://kf1.mtavip.com/api',
|
|
|
+ baseURL: isPro?pro.baseURL:'https://www.chengxiangjiaoyu.com/api/v10',
|
|
|
|
|
|
},
|
|
|
};
|