From e24ef1b9d6c7e83ae35219dc1b8eb74e81091a18 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Thu, 27 Jul 2023 09:05:19 -0700 Subject: [PATCH] Fix notifications webpack proxy for Web (#5794) * Update webpack config to support proxying web socket connections for notifications * turn off runtime error overlay --------- Co-authored-by: Matt Gibson --- apps/web/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/webpack.config.js b/apps/web/webpack.config.js index 0651603d56..bfdc8ae90a 100644 --- a/apps/web/webpack.config.js +++ b/apps/web/webpack.config.js @@ -213,6 +213,7 @@ const devServer = pathRewrite: { "^/notifications": "" }, secure: false, changeOrigin: true, + ws: true, }, "/icons": { target: envConfig.dev?.proxyIcons, @@ -298,6 +299,7 @@ const devServer = overlay: { errors: true, warnings: false, + runtimeErrors: false, }, }, };