mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: disable HTTP/2 again
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user