日志小调整
parent
d2ae69a062
commit
a51ba698bf
|
@ -171,7 +171,7 @@ module.exports = {
|
||||||
|
|
||||||
const obj = {}
|
const obj = {}
|
||||||
obj[pathPattern] = hostnameConfig[pathPattern]
|
obj[pathPattern] = hostnameConfig[pathPattern]
|
||||||
log.info(`域名 '${hostnamePattern}' 拦截配置中,新增伪脚本地址的代理配置:`, JSON.stringify(obj, null, '\t'))
|
log.debug(`域名 '${hostnamePattern}' 拦截配置中,新增伪脚本地址的代理配置:`, JSON.stringify(obj, null, '\t'))
|
||||||
} else {
|
} else {
|
||||||
// 相对地址:新增响应头Content-Type替换配置
|
// 相对地址:新增响应头Content-Type替换配置
|
||||||
if (hostnameConfig[scriptKey]) {
|
if (hostnameConfig[scriptKey]) {
|
||||||
|
|
Loading…
Reference in New Issue