liting2017 7 years ago
parent
commit
616af63cf6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      webpack.config.js

+ 4 - 4
webpack.config.js

@@ -1,4 +1,4 @@
-const webpack = require('webpack');
+const webpack = require('webpack');
 const path = require('path');
 const ExtractTextPlugin = require("extract-text-webpack-plugin");
 const HtmlWebpackPlugin = require('html-webpack-plugin');
@@ -239,11 +239,11 @@ module.exports = (function () {
             }
         }));
     }
-    let staticHost = 'http://afts.hnzhiming.com';
-    //let staticHost = 'http://127.0.0.1';    
+    //let staticHost = 'http://afts.hnzhiming.com';
+    let staticHost = 'http://127.0.0.1';    
     switch (argv.env.deploy) {
         case 'test':
-            staticHost = 'http://afts.hnzhiming.com';
+            staticHost = 'http://static.jishutao.com';
             break;
         case 'prod':
             staticHost = 'http://s.jishutao.com';