diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-06-14 16:29:15 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 16:29:15 +1200 |
commit | 93276d45be68790b5f4aeb4577c380ca1608efb3 (patch) | |
tree | 9553d0f45e705da04bfa4be8dd5e39d09fcd112f /examples/proxapp.py | |
parent | 4c292b0197d820e9e108aa05b10927107a0503c3 (diff) | |
parent | d8ae2f156203a81a8e6d325f5c460c351cfbfc5c (diff) | |
download | mitmproxy-93276d45be68790b5f4aeb4577c380ca1608efb3.tar.gz mitmproxy-93276d45be68790b5f4aeb4577c380ca1608efb3.tar.bz2 mitmproxy-93276d45be68790b5f4aeb4577c380ca1608efb3.zip |
Merge branch 'master' into netlibrace
Diffstat (limited to 'examples/proxapp.py')
-rw-r--r-- | examples/proxapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/proxapp.py b/examples/proxapp.py index 4d8e7b58..613d3f8b 100644 --- a/examples/proxapp.py +++ b/examples/proxapp.py @@ -15,7 +15,7 @@ def hello_world(): # Register the app using the magic domain "proxapp" on port 80. Requests to # this domain and port combination will now be routed to the WSGI app instance. -def start(context, argv): +def start(context): context.app_registry.add(app, "proxapp", 80) # SSL works too, but the magic domain needs to be resolvable from the mitmproxy machine due to mitmproxy's design. |