From 1df398fb14d583c28075250c6f61edbf4e0e4f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Wed, 15 May 2024 10:11:21 +0200 Subject: [PATCH] Use the default Web sockets implementation for HMR --- web/webpack.config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/webpack.config.js b/web/webpack.config.js index b12dda738c..6f81a9f190 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -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);