1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-29 11:05:54 +02: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,6 +213,7 @@ const devServer =
pathRewrite: { "^/notifications": "" }, pathRewrite: { "^/notifications": "" },
secure: false, secure: false,
changeOrigin: true, changeOrigin: true,
ws: true,
}, },
"/icons": { "/icons": {
target: envConfig.dev?.proxyIcons, target: envConfig.dev?.proxyIcons,
@ -298,6 +299,7 @@ const devServer =
overlay: { overlay: {
errors: true, errors: true,
warnings: false, warnings: false,
runtimeErrors: false,
}, },
}, },
}; };