MES手机端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
448 B

  1. const CONFIG = {
  2. // 开发环境配置
  3. development: {
  4. assetsPath: '/static', // 静态资源路径
  5. baseUrl: 'http://127.0.0.1:8500', // 后台接口请求地址
  6. socketUrl: 'ws://127.0.0.1:9500/websocket'
  7. },
  8. // 生产环境配置
  9. production: {
  10. assetsPath: '/static', // 静态资源路径
  11. baseUrl: 'https://ip:8500', // 后台接口请求地址
  12. socketUrl: 'wss://ip:9500/websocket'
  13. }
  14. };
  15. export default CONFIG[process.env.NODE_ENV];