dev.env.js 1002 B

123456789101112131415161718192021222324252627
  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. // ENV_CONFIG: "'dev'",
  7. // API_ROOT: '"//47.98.174.59"',
  8. // LOGIN_URL: '"http://47.98.174.59:8081/page/login?redirect=http%3a%2f%2f47.98.174.59%2f%23%2fhome"',
  9. // REGISTER_URL: '"http://47.98.174.59:8081/page/register"'
  10. // })
  11. // module.exports = merge(prodEnv, {
  12. // NODE_ENV: '"development"',
  13. // ENV_CONFIG: "'dev'",
  14. // API_ROOT: '"//127.0.0.1"',
  15. // LOGIN_URL: '"http://127.0.0.1:8081/page/login?redirect=http%3a%2f%2f127.0.0.1%2f%23%2fhome"',
  16. // REGISTER_URL: '"http:/127.0.0.1:8081/page/register"'
  17. // })
  18. module.exports = merge(prodEnv, {
  19. NODE_ENV: '"development"',
  20. ENV_CONFIG: "'dev'",
  21. API_ROOT: '"//crowd.dev.mooctest.netlaaa"',
  22. LOGIN_URL: '"http://user.mooctest.net:8081/page/login?redirect=http%3a%2f%2fcrowd.dev.mooctest.net%2f%23%2fhome"',
  23. REGISTER_URL: '"http://user.mooctest.net:8081/page/register"'
  24. })