mirror of
https://github.com/SukkaW/Surge.git
synced 2026-06-14 03:31:49 +08:00
Chore: disable HTTP/2 to avoid race condition
This commit is contained in:
@@ -27,7 +27,7 @@ if (!fs.existsSync(CACHE_DIR)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const agent = new Agent({
|
const agent = new Agent({
|
||||||
allowH2: true
|
allowH2: false
|
||||||
}).compose(
|
}).compose(
|
||||||
interceptors.dns({
|
interceptors.dns({
|
||||||
// disable IPv6
|
// disable IPv6
|
||||||
|
|||||||
Reference in New Issue
Block a user