mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +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:
@@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user