update redirect

This commit is contained in:
Spirtix 2023-07-02 10:39:43 +02:00
parent 1fec86c12a
commit 00d0a182c7

View File

@ -66,7 +66,7 @@ class LocalRedirect:
print('Loaded redirect addon')
def request(self, flow: mitmproxy.http.HTTPFlow):
if 'api.jumpstart.com' in flow.request.pretty_host and routable(flow.request.path):
if 'api.sodoff.spirtix.com' in flow.request.pretty_host and routable(flow.request.path):
flow.request.host = "localhost"
flow.request.scheme = 'http'
flow.request.port = 5000