小调整。

pull/286/head
王良 2024-03-29 22:26:47 +08:00
parent 0f7a258d2a
commit 7263d15066
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ module.exports = {
proxyTarget = proxyConf + uri
}
// eslint-disable-next-line
// no-template-curly-in-string
// eslint-disable-next-line no-template-curly-in-string
proxyTarget = proxyTarget.replace('${host}', rOptions.hostname)

View File

@ -15,6 +15,8 @@ module.exports = {
redirect = interceptOpt.redirect(req.url)
}
// eslint-disable-next-line
// no-template-curly-in-string
// eslint-disable-next-line no-template-curly-in-string
redirect = redirect.replace('${host}', rOptions.hostname)