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:
@@ -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": [
|
||||||
|
|||||||
@@ -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": {}
|
||||||
|
|||||||
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user