dev.env.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. "use strict"
  2. const merge = require("webpack-merge")
  3. const prodEnv = require("./prod.env")
  4. module.exports = merge(prodEnv, {
  5. NODE_ENV: '"development"',
  6. IS_BASE_PACKAGE: "true",
  7. FILE_BASE_PATH: '"http://192.168.10.14:1665"',
  8. //以上配置一般不需要修改
  9. //使用easymock时,请将BASE_API设置为'"/easy-mock"'
  10. // BASE_API: '"/easy-mock"',
  11. BASE_API: '"/dcucauth"',
  12. QQQ: '"/easy-mock2"',
  13. //是否需要登录验证
  14. NEED_LOGIN: "false",
  15. //需要依赖的系统名称
  16. // INSTALLED_PROJECT: "'zfba,demo2,cross-env'",
  17. //当使用Oauth2方式登录时需要配置CLIENT_ID和CLIENT_SECRET
  18. IS_OAUTH2: "false",
  19. // CLIENT_ID: '"apigw91419331"',
  20. // CLIENT_SECRET: '"apigw94003010"',
  21. // APP_CODE: '"apigw10000003"',
  22. //LOGIN_PAGE:'"bjscLogin.jsp"',//是否自定义登录页
  23. // 布局结构配置,可选项包含 `layout-menu-top`, `layout`
  24. LAYOUT: '"layout"',
  25. PORT: "8871",
  26. //是否启用本地mock
  27. IS_MOCK: "false",
  28. PROXY_TABLE: JSON.stringify({
  29. "/dcucauth": {
  30. // target: 'http://10.11.1.237:8861' // 马志强
  31. target: "http://10.11.0.240:8861" // 陈炳煌
  32. // target: "http://10.254.11.203:8861"
  33. // target: "http://192.168.10.2:8871"
  34. // target: "http://192.168.6.133:3471"
  35. // target: 'http://192.168.6.131:3561'
  36. // target: "http://10.201.1.50:8871"
  37. }
  38. })
  39. })