mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-30 04:28:19 +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:
parent
54642225ab
commit
e24ef1b9d6
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user