mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Disable HTTP/2
This commit is contained in:
parent
300d6c7409
commit
e87117ef89
@ -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 });
|
||||
|
||||
setGlobalDispatcher(agent.compose(
|
||||
interceptors.dns({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user