mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-11 16:50:33 +08:00
Chore: disable HTTP/2 again
This commit is contained in:
parent
e3512c936e
commit
d7f9961062
@ -23,7 +23,7 @@ if (!fs.existsSync(CACHE_DIR)) {
|
||||
fs.mkdirSync(CACHE_DIR, { recursive: true });
|
||||
}
|
||||
|
||||
const agent = new Agent({ allowH2: true });
|
||||
const agent = new Agent({ allowH2: false });
|
||||
|
||||
(agent.compose(
|
||||
interceptors.dns({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user