Skip to content

Commit

Permalink
Disable ws on dev server to avoid csp errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Apr 15, 2022
1 parent 1f6f91a commit 667a616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const config: webpack.Configuration = {

devServer: {
hot: false,
webSocketServer: false,
devMiddleware: {
writeToDisk: true,
},
Expand Down

0 comments on commit 667a616

Please sign in to comment.