mirror of
https://github.com/LittleChest/Dohna-NS.git
synced 2026-05-06 22:44:50 +08:00
common: Update Anti-GFW
* Adapt to new changes in GFW
This commit is contained in:
parent
08f73f61dd
commit
f0e016f13b
@ -13,8 +13,9 @@ export default async function handler(
|
||||
pathname === "/dns-query" &&
|
||||
headers.get("content-type") === "application/dns-message" &&
|
||||
headers.get("accept") === "application/dns-message" &&
|
||||
headers.get("accept-encoding") === "gzip, br" &&
|
||||
headers.get("content-length") === "29" &&
|
||||
(headers.get("accept-encoding") === "gzip, br" ||
|
||||
headers.get("accept-encoding") === "gzip") &&
|
||||
(headers.get("user-agent") === "Go-http-client/1.1" ||
|
||||
headers.get("user-agent") === "Go-http-client/2.0")
|
||||
) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user