1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01: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": "" },
secure: false,
changeOrigin: true,
ws: true,
},
"/icons": {
target: envConfig.dev?.proxyIcons,
@ -298,6 +299,7 @@ const devServer =
overlay: {
errors: true,
warnings: false,
runtimeErrors: false,
},
},
};