人民医院前端

index.config.js 900B

123456789101112131415161718192021222324252627
  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.192:8000/', // 本地外网地址s
  8. // baseUrl: 'http://172.16.10.22:8000/',
  9. hostUrl: '', // H5地址(前端运行地址)
  10. weixinAppId: '' // 微信公众号appid
  11. },
  12. // 生产环境配置
  13. production: {
  14. assetsPath: '/static', // 静态资源路径
  15. // baseUrl: 'http://192.168.8.10:8033/',
  16. // baseUrl: 'http://39.164.159.192:8000/',
  17. baseUrl: 'https://zyfb.zzrmyy.com/', // 本地外网地址
  18. // baseUrl: 'http://172.16.10.22:8000/',
  19. hostUrl: '', // H5地址(前端运行地址)
  20. weixinAppId: '' // 微信公众号appid
  21. }
  22. };
  23. export default CONFIG[process.env.NODE_ENV];