config.js 667 B

1234567891011121314151617
  1. const config = {
  2. identifier: "frontApp",
  3. inlineSiteBaseUrl: 'http://test.dz.jinliyk.com/admin',
  4. mathJaxCDN: 'https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/MathJaxFiles/3.2.0/es5/tex-svg-full.js'
  5. };
  6. if (process.env.NODE_ENV === "development") {
  7. config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api";
  8. config.paySiteUrl = 'http://test.dz.jinliyk.com/h5';
  9. config.responseErrorCatch = true; // API 返回错误时,是否控制台打印
  10. } else {
  11. config.serverBaseUrl = "http://test.dz.jinliyk.com/prod-api";
  12. config.paySiteUrl = 'http://test.dz.jinliyk.com/h5';
  13. config.responseErrorCatch = true;
  14. }
  15. export default config;