日志小调整。
parent
f6d02950ff
commit
a145fd993f
|
@ -310,7 +310,7 @@ export default {
|
|||
<div v-if="activeTabKey === '4'">
|
||||
<a-row style="margin-top:10px">
|
||||
<a-col span="21">
|
||||
<div>这里配置的域名不会通过代理</div>
|
||||
<div>配置为<code>不代理</code>的域名不会通过代理</div>
|
||||
</a-col>
|
||||
<a-col span="3">
|
||||
<a-button style="margin-left:8px" type="primary" icon="plus" @click="addWhiteList()" />
|
||||
|
|
|
@ -110,7 +110,7 @@ module.exports = (serverConfig) => {
|
|||
// 配置了白名单的域名,将跳过代理
|
||||
const inWhiteList = !!matchUtil.matchHostname(whiteList, hostname, 'in whiteList')
|
||||
if (inWhiteList) {
|
||||
log.info(`为白名单域名,不拦截: ${hostname}, headers:`, jsonApi.stringify2(req.headers))
|
||||
log.info(`为白名单域名,不拦截: ${hostname}`)
|
||||
return false // 不拦截
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue