人民医院前端

index.config.js 761B

123456789101112131415161718192021222324
  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: '/static', // 静态资源路径
  5. // baseUrl: 'http://222.143.144.10:8002/', // 后台接口请求地址
  6. // baseUrl: 'http://192.168.1.37:8000/',
  7. baseUrl: 'http://192.168.8.10:8033/',
  8. hostUrl: '', // H5地址(前端运行地址)
  9. weixinAppId: '' // 微信公众号appid
  10. },
  11. // 生产环境配置
  12. production: {
  13. assetsPath: '/static', // 静态资源路径
  14. // baseUrl: 'http://222.143.144.10:8002/', // 后台接口请求地址
  15. baseUrl: 'http://192.168.1.37:8000/',
  16. hostUrl: '', // H5地址(前端运行地址)
  17. weixinAppId: '' // 微信公众号appid
  18. }
  19. };
  20. export default CONFIG[process.env.NODE_ENV];