小调整。
parent
0f7a258d2a
commit
7263d15066
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue