mirror of
https://github.com/MatthewL246/mitmproxy-pretendo.git
synced 2026-04-25 07:52:48 -05:00
Change the account server to listen on port 8080
This makes more sense than listening on port 7070 because the account server is the most important.
This commit is contained in:
parent
c2d40776dd
commit
c0821b546e
|
|
@ -25,7 +25,7 @@ class PretendoAddon:
|
|||
# The account server
|
||||
if "account.nintendo.net" in flow.request.host:
|
||||
flow.request.host = flow.request.host.replace("nintendo.net", "pretendo.cc")
|
||||
flow.request.port = 7070
|
||||
flow.request.port = 8080
|
||||
|
||||
if ctx.options.pretendo_http:
|
||||
flow.request.scheme = "http"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user