pull/375/head
王良 2 months ago
parent ea55c46fb4
commit 360c9f89dd

@ -17,7 +17,7 @@ module.exports = {
// 替换响应头 // 替换响应头
if (responseReplaceApi.replaceResponseHeaders({ ...headers }, res, proxyRes)) { if (responseReplaceApi.replaceResponseHeaders({ ...headers }, res, proxyRes)) {
res.setHeader('DS-AfterOPTIONSHeaders-Interceptor', true) res.setHeader('DS-AfterOPTIONSHeaders-Interceptor', rOptions.headers.origin)
log.info('AfterOPTIONSHeaders intercept:', JSON.stringify(headers)) log.info('AfterOPTIONSHeaders intercept:', JSON.stringify(headers))
} }
}, },

Loading…
Cancel
Save