diff --git a/client/configuration/webpack/webpack.config.dev.js b/client/configuration/webpack/webpack.config.dev.js index 4498cebd..73d06752 100644 --- a/client/configuration/webpack/webpack.config.dev.js +++ b/client/configuration/webpack/webpack.config.dev.js @@ -90,7 +90,7 @@ module.exports = { __REACT_DEVTOOLS_GLOBAL_HOOK__: "({ isDisabled: true })" }), new webpack.DefinePlugin({ - "process.env.CXG_SERVER_PORT": JSON.stringify(process.env.CXG_SERVER_PORT), + "process.env.CXG_SERVER_PORT": JSON.stringify(process.env.CXG_SERVER_PORT) }) ] }; diff --git a/client/configuration/webpack/webpack.config.prod.js b/client/configuration/webpack/webpack.config.prod.js index 8ee88746..2c4981a4 100644 --- a/client/configuration/webpack/webpack.config.prod.js +++ b/client/configuration/webpack/webpack.config.prod.js @@ -11,7 +11,7 @@ const nodeModules = path.resolve("node_modules"); const babelOptions = require("../babel/babel.prod"); -const publicPath = ""; +const publicPath = "/"; module.exports = { mode: "production", diff --git a/client/index_template.html b/client/index_template.html index 075448a5..ff3eef0b 100644 --- a/client/index_template.html +++ b/client/index_template.html @@ -1,42 +1,58 @@ -
- - -