1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-06 23:51:28 +01:00

Add icons to dev proxies (#3429)

This commit is contained in:
Matt Gibson 2022-09-07 10:36:05 -06:00 committed by GitHub
parent 607e86de9b
commit ae990019c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,6 +209,12 @@ const devServer =
secure: false,
changeOrigin: true,
},
"/icons": {
target: envConfig.dev?.proxyIcons,
pathRewrite: { "^/icons": "" },
secure: false,
changeOrigin: true,
},
},
headers: (req) => {
if (!req.originalUrl.includes("connector.html")) {