1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

icons and key connector urls for web development (#17043)

This commit is contained in:
Maciej Zieniuk
2025-10-27 13:40:56 +01:00
committed by GitHub
parent a6882c36b9
commit 43a1dfa463
3 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
"proxyIdentity": "http://localhost:33656", "proxyIdentity": "http://localhost:33656",
"proxyEvents": "http://localhost:46273", "proxyEvents": "http://localhost:46273",
"proxyNotifications": "http://localhost:61840", "proxyNotifications": "http://localhost:61840",
"proxyIcons": "http://localhost:50024",
"wsConnectSrc": "ws://localhost:61840" "wsConnectSrc": "ws://localhost:61840"
}, },
"additionalRegions": [ "additionalRegions": [

View File

@@ -4,6 +4,7 @@
"proxyIdentity": "http://localhost:33657", "proxyIdentity": "http://localhost:33657",
"proxyEvents": "http://localhost:46274", "proxyEvents": "http://localhost:46274",
"proxyNotifications": "http://localhost:61841", "proxyNotifications": "http://localhost:61841",
"proxyKeyConnector": "http://localhost:5000",
"port": 8081 "port": 8081
}, },
"flags": {} "flags": {}

View File

@@ -276,6 +276,13 @@ module.exports.buildConfig = function buildConfig(params) {
secure: false, secure: false,
changeOrigin: true, changeOrigin: true,
}, },
{
context: ["/key-connector"],
target: envConfig.dev?.proxyKeyConnector,
pathRewrite: { "^/key-connector": "" },
secure: false,
changeOrigin: true,
},
], ],
headers: (req) => { headers: (req) => {
if (!req.originalUrl.includes("connector.html")) { if (!req.originalUrl.includes("connector.html")) {