人民医院前端

index.config.js 1.0KB

1234567891011121314151617181920212223242526272829
  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: '/static', // 静态资源路径
  5. // baseUrl: 'http://192.168.8.10:8033/',
  6. // baseUrl: 'https://zyfb.zzrmyy.com/', // 本地外网地址
  7. baseUrl: 'http://39.164.159.226:8000/', // 本地外网地址
  8. // baseUrl: 'http://localhost:50973/', // 本地外网地址
  9. // baseUrl: 'http://172.16.10.22:8000/',
  10. hostUrl: '', // H5地址(前端运行地址)
  11. weixinAppId: '' // 微信公众号appid
  12. },
  13. // 生产环境配置
  14. production: {
  15. assetsPath: '/static', // 静态资源路径
  16. // baseUrl: 'http://192.168.8.10:8033/',
  17. // baseUrl: 'http://39.164.159.226:8000/',
  18. baseUrl: 'https://zyfb.zzrmyy.com/', // 本地外网地址
  19. // baseUrl: 'http://localhost:50973/', // 本地外网地址
  20. // baseUrl: 'http://172.16.10.22:8000/',
  21. hostUrl: '', // H5地址(前端运行地址)
  22. weixinAppId: '' // 微信公众号appid
  23. }
  24. };
  25. export default CONFIG[process.env.NODE_ENV];