mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
proxapp -> proxapp.local
Chrome doesn't like it if there's no TLD.
This commit is contained in:
parent
6f00c1bc5d
commit
482c1579f2
@ -15,9 +15,9 @@ def hello_world():
|
||||
|
||||
|
||||
def load(l):
|
||||
# Host app at the magic domain "proxapp" on port 80. Requests to this
|
||||
# Host app at the magic domain "proxapp.local" on port 80. Requests to this
|
||||
# domain and port combination will now be routed to the WSGI app instance.
|
||||
return wsgiapp.WSGIApp(app, "proxapp", 80)
|
||||
return wsgiapp.WSGIApp(app, "proxapp.local", 80)
|
||||
|
||||
# SSL works too, but the magic domain needs to be resolvable from the mitmproxy machine due to mitmproxy's design.
|
||||
# mitmproxy will connect to said domain and use serve its certificate (unless --no-upstream-cert is set)
|
||||
|
Loading…
Reference in New Issue
Block a user