index.config.js 857 B

123456789101112131415161718192021
  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: "/static", // 静态资源路径
  5. // baseUrl: "http://192.168.1.86:15555/", // 后台接口请求地址
  6. // baseUrl: "http://192.168.1.64:8090/", // 后台接口请求地址
  7. baseUrl: "https://agent-crm.luojigou.vip/crm-api/", // 后台接口请求地址
  8. hostUrl: "https://luojigou.vip/exhibition/",
  9. websocketUrl: "", // websocket服务端地址
  10. weixinAppId: "", // 微信公众号appid
  11. },
  12. // 生产环境配置
  13. production: {
  14. assetsPath: "/static", // 静态资源路径
  15. baseUrl: "https://agent-crm.luojigou.vip/crm-api/", // 后台接口请求地址
  16. hostUrl: "https://luojigou.vip/exhibition/",
  17. websocketUrl: "", // websocket服务端地址
  18. weixinAppId: "", // 微信公众号appid
  19. },
  20. };
  21. export default CONFIG[process.env.NODE_ENV];