人民医院前端

index.config.js 705B

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