1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

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 <mgibson@bitwarden.com>
This commit is contained in:
Shane Melton
2023-07-27 09:05:19 -07:00
committed by GitHub
parent 54642225ab
commit e24ef1b9d6

View File

@@ -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,
},
},
};