1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00: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

View File

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