dengzhiguo 7 years ago
parent
commit
5da5a30afe
2 changed files with 3 additions and 2 deletions
  1. 2 1
      package.json
  2. 1 1
      webpack.config.js

+ 2 - 1
package.json

@@ -1,12 +1,13 @@
 {
   "name": "aft-portal",
-  "version": "2.0.00",
+  "version": "2.0.0",
   "description": "",
   "main": "index.js",
   "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';