|
@@ -1,16 +1,16 @@
|
|
|
const config = {
|
|
|
identifier: "frontApp",
|
|
|
- inlineSiteBaseUrl: 'https://test.dz.jinliyk.com/admin',
|
|
|
+ inlineSiteBaseUrl: 'http://test.dz.jinliyk.com/admin',
|
|
|
mathJaxCDN: 'https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/MathJaxFiles/3.2.0/es5/tex-svg-full.js'
|
|
|
};
|
|
|
|
|
|
if (process.env.NODE_ENV === "development") {
|
|
|
- config.serverBaseUrl = "https://test.dz.jinliyk.com/admin/prod-api";
|
|
|
- config.paySiteUrl = 'https://test.dz.jinliyk.com/h5';
|
|
|
+ config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api";
|
|
|
+ config.paySiteUrl = 'http://test.dz.jinliyk.com/h5';
|
|
|
config.responseErrorCatch = true; // API 返回错误时,是否控制台打印
|
|
|
} else {
|
|
|
- config.serverBaseUrl = "https://test.dz.jinliyk.com/admin/prod-api";
|
|
|
- config.paySiteUrl = 'https://test.dz.jinliyk.com/h5';
|
|
|
+ config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api";
|
|
|
+ config.paySiteUrl = 'http://test.dz.jinliyk.com/h5';
|
|
|
config.responseErrorCatch = true;
|
|
|
}
|
|
|
|