config.js 831 B

1234567891011121314151617181920
  1. // H5页面基础路径(各环境通用)
  2. //const h5Url = '/nightFragrance/#';
  3. // 静态资源路径(各环境通用)
  4. const staticUrl = 'https://life.baoxianzhanggui.com/pro-img/nightFragrance';
  5. // 正式环境
  6. // let baseUrl = 'https://test.baoxianzhanggui.com/nightFragrance';
  7. let baseUrl = 'https://city.baoxianzhanggui.com/nightFragrance'
  8. let h5Url = 'https://city.baoxianzhanggui.com/fragrance'
  9. //let baseUrl = 'http://192.168.0.49:8087'
  10. // let baseUrl = 'https://8c55-171-118-90-51.ngrok-free.app'
  11. if (process.env.NODE_ENV == 'development') {
  12. // baseUrl = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
  13. //baseUrl = 'http://192.168.1.190:8087' // 靳
  14. baseUrl = 'http://192.168.1.222:8087' // 志珺
  15. }
  16. // 同时导出所有变量(命名导出)
  17. export { baseUrl, h5Url, staticUrl };