1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +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

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