Skip to content

Commit

Permalink
avoid webpack watching root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
DreadKnight committed Feb 3, 2023
1 parent dbfa51c commit 6bcef18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

1 comment on commit 6bcef18

@vercel
Copy link

@vercel vercel bot commented on 6bcef18 Feb 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.