小调整。
parent
aa04f998ca
commit
986fead402
|
@ -67,11 +67,11 @@ module.exports = {
|
||||||
'*.kkgithub.com': true,
|
'*.kkgithub.com': true,
|
||||||
'*.ghproxy.*': true,
|
'*.ghproxy.*': true,
|
||||||
|
|
||||||
// Github ssh
|
// Github ssh
|
||||||
"ssh.github.com": true,
|
'ssh.github.com': true,
|
||||||
|
|
||||||
// DeepL
|
// DeepL
|
||||||
'www.deepl.com': true,
|
'www.deepl.com': true,
|
||||||
|
|
||||||
// CSDN
|
// CSDN
|
||||||
'*.csdn.net': true,
|
'*.csdn.net': true,
|
||||||
|
|
|
@ -215,7 +215,7 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e
|
||||||
(async () => {
|
(async () => {
|
||||||
await requestInterceptorPromise()
|
await requestInterceptorPromise()
|
||||||
|
|
||||||
if (res.writableEnded || res.waitingToWrite) {
|
if (res.writableEnded) {
|
||||||
// log.info('res is writableEnded, return false')
|
// log.info('res is writableEnded, return false')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue