mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-21 20:08:18 +00:00
use pretty_host in domain filtering (#2382)
This commit is contained in:
parent
5ee4812ac5
commit
0f0e7aca68
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user