Enable websocket connection in dev (#7172)

* Enable signalR websocket to dev server

* Remove unnecessary env check
This commit is contained in:
Matt Gibson 2024-01-22 08:39:27 -05:00 committed by GitHub
parent 7bb4ea842f
commit 0bcb45ed5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,8 @@
"proxyApi": "http://localhost:4000",
"proxyIdentity": "http://localhost:33656",
"proxyEvents": "http://localhost:46273",
"proxyNotifications": "http://localhost:61840"
"proxyNotifications": "http://localhost:61840",
"wsConnectSrc": "ws://localhost:61840"
},
"flags": {
"secretsManager": true,

View File

@ -270,6 +270,7 @@ const devServer =
https://*.duosecurity.com
;connect-src
'self'
${envConfig.dev.wsConnectSrc ?? ""}
wss://notifications.bitwarden.com
https://notifications.bitwarden.com
https://cdn.bitwarden.net