Skip to content

Commit

Permalink
Use the default Web sockets implementation for HMR (#1210)
Browse files Browse the repository at this point in the history
undefined
  • Loading branch information
lslezak authored May 15, 2024
2 parents 12f374c + 1df398f commit 698f115
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ module.exports = {
secure: false,
}
],
server: "http",
// hot replacement does not support wss:// transport when running over https://,
// as a workaround use sockjs (which uses standard https:// protocol)
webSocketServer: "sockjs",

// special handling for the "po.js" requests specially
setupMiddlewares: (middlewares, devServer) => {
devServer.app.get("/po.js", po_handler);
Expand Down

0 comments on commit 698f115

Please sign in to comment.