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 |