From 5beeeae81dde9fd1d5cff1a933268ef2bb94d494 Mon Sep 17 00:00:00 2001 From: senyuuri Date: Wed, 29 Apr 2020 11:35:24 +0800 Subject: Improve compatibility of wsgi_flask_app example on OS X --- examples/simple/wsgi_flask_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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. -- cgit v1.2.3