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