From 6bcef1829ed113d58e91d0cd289db1b21fee27b7 Mon Sep 17 00:00:00 2001 From: DreadKnight Date: Fri, 3 Feb 2023 17:33:06 +0200 Subject: [PATCH] avoid webpack watching root folder --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index ac1bb8663..445230ee1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -112,7 +112,7 @@ module.exports = (env, argv) => { }, }, devServer: { - static: process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : '/', + static: process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : './', port: 8080, proxy: { '/api': '159.65.232.104:7350',