mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-19 14:31:44 +08:00
cd32115871
Signed-off-by: Innei <tukon479@gmail.com>
6 lines
194 B
Python
6 lines
194 B
Python
from mitmproxy import http
|
|
|
|
def request(flow: http.HTTPFlow) -> None:
|
|
if flow.request.pretty_host == "app.follow.is":
|
|
flow.request.host = "localhost"
|
|
flow.request.port = 2233 |