Skip to content

Commit

Permalink
use pretty_host in domain filtering (Grasscutters#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden-leong authored Sep 23, 2023
1 parent 5ee4812 commit 0f0e7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0f0e7ac

Please sign in to comment.