mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +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 });
|
fs.mkdirSync(CACHE_DIR, { recursive: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
const agent = new Agent({ allowH2: true });
|
const agent = new Agent({ allowH2: false });
|
||||||
|
|
||||||
(agent.compose(
|
(agent.compose(
|
||||||
interceptors.dns({
|
interceptors.dns({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user