aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/webpack.config.dev.js
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-05 23:01:38 +0800
committercrupest <crupest@outlook.com>2021-05-05 23:01:38 +0800
commit7a89e75aea432675ab6cb214592614bab2207795 (patch)
tree1a75c2505d3f03b28398e331a8cc424485f917d8 /FrontEnd/webpack.config.dev.js
parent316509a69b67cadfe7c9863f7b9199787b9c564e (diff)
downloadtimeline-7a89e75aea432675ab6cb214592614bab2207795.tar.gz
timeline-7a89e75aea432675ab6cb214592614bab2207795.tar.bz2
timeline-7a89e75aea432675ab6cb214592614bab2207795.zip
...
Diffstat (limited to 'FrontEnd/webpack.config.dev.js')
-rw-r--r--FrontEnd/webpack.config.dev.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/webpack.config.dev.js b/FrontEnd/webpack.config.dev.js
index a10bdaa8..44438cf3 100644
--- a/FrontEnd/webpack.config.dev.js
+++ b/FrontEnd/webpack.config.dev.js
@@ -40,7 +40,7 @@ config.resolve.set("fallback", {
});
config.devServer
- .contentBase(path.resolve(__dirname, "public/"))
+ .set("static", path.resolve(__dirname, "public/"))
.port(3000)
.historyApiFallback(true)
.hot(true);