Add icons to dev proxies (#3429)
This commit is contained in:
parent
607e86de9b
commit
ae990019c9
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue