ws2z3gr2017 7 years ago
parent
commit
967abbe98d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      webpack.config.js

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
     "dlldev": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy dev --env.host 'http://127.0.0.1'",
-    "dlltest": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy test --env.host 'http://uat.jishutao.com'", 
+    "dlltest": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy test --env.host 'http://static.jishutao.com'", 
     "dllpro": "webpack --progress --colors --config ./webpack-dll.config.js --env.deploy prod --env.host 'http://static.goafanti.com'",
     "build": "node bin/clean.js && webpack --progress --colors --env.deploy dev",
     "buildtest": "node bin/clean.js && webpack --progress --colors --env.deploy test",

+ 1 - 1
webpack.config.js

@@ -77,7 +77,7 @@ module.exports = (function () {
     let staticHost = 'http://127.0.0.1';
     switch (argv.env.deploy) {
         case 'test':
-            staticHost = 'http://uat.jishutao.com';
+            staticHost = 'http://static.jishutao.com';
             break;
         case 'prod':
             staticHost = 'http://s.jishutao.com';