diff --git a/app/index.html b/app/index.html
index 8798264f..a60c6867 100644
--- a/app/index.html
+++ b/app/index.html
@@ -8,10 +8,8 @@
-
-
-
-
+
+
diff --git a/webpack_configs/common.config.js b/webpack_configs/common.config.js
index 874d5448..6ad307f3 100644
--- a/webpack_configs/common.config.js
+++ b/webpack_configs/common.config.js
@@ -14,8 +14,6 @@ module.exports = function (options={}) {
staticDir = 'rs',
} = options
-let publicPath = path.join('/', staticDir)
-if (!publicPath.endsWith('/')) publicPath + '/'
return {
entry: {
main: [path.join(rootDir, 'app')],
@@ -23,7 +21,7 @@ return {
vendor: ['babel-polyfill', 'react', 'react-dom', 'redux', 'react-redux'],
},
output: {
- publicPath,
+ publicPath: path.join('/', staticDir, '/'), // publicPath should end with '/'
path: path.join(rootDir, 'build', staticDir),
filename: '[name].[hash].js'
},