mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-09-07 06:13:29 +03:00
use pretty_host in domain filtering (#2382)
This commit is contained in:
@@ -68,7 +68,7 @@ class MlgmXyysd_Animation_Company_Proxy:
|
||||
]
|
||||
|
||||
def request(self, flow: http.HTTPFlow) -> None:
|
||||
if flow.request.host in self.LIST_DOMAINS:
|
||||
if flow.request.pretty_host in self.LIST_DOMAINS:
|
||||
if USE_SSL:
|
||||
flow.request.scheme = "https"
|
||||
else:
|
||||
|
Reference in New Issue
Block a user