diff options
author | senyuuri <senyuuri@gmail.com> | 2020-04-29 11:35:24 +0800 |
---|---|---|
committer | senyuuri <senyuuri@gmail.com> | 2020-04-29 11:35:24 +0800 |
commit | 5beeeae81dde9fd1d5cff1a933268ef2bb94d494 (patch) | |
tree | 801704a79eec921c703ecf3f19d7873a5fcfae98 /examples | |
parent | 433c588c4cfc20e181b2e865814a350dd7fd9f06 (diff) | |
download | mitmproxy-5beeeae81dde9fd1d5cff1a933268ef2bb94d494.tar.gz mitmproxy-5beeeae81dde9fd1d5cff1a933268ef2bb94d494.tar.bz2 mitmproxy-5beeeae81dde9fd1d5cff1a933268ef2bb94d494.zip |
Improve compatibility of wsgi_flask_app example on OS X
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple/wsgi_flask_app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/wsgi_flask_app.py b/examples/simple/wsgi_flask_app.py index bbde6913..b34fbc83 100644 --- a/examples/simple/wsgi_flask_app.py +++ b/examples/simple/wsgi_flask_app.py @@ -15,9 +15,9 @@ def hello_world() -> str: addons = [ - # Host app at the magic domain "proxapp.local" on port 80. Requests to this + # Host app at the magic domain "example.com" on port 80. Requests to this # domain and port combination will now be routed to the WSGI app instance. - wsgiapp.WSGIApp(app, "proxapp.local", 80) + wsgiapp.WSGIApp(app, "example.com", 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) # but won't send any data. |