From 4ba7ce50c6aa7b96325e201f65747a3a6ace1a7a Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 15 Jul 2016 13:22:20 +1200 Subject: Add .start for addons and scripts Also improve error messages, fix various unit tests --- examples/proxapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/proxapp.py') diff --git a/examples/proxapp.py b/examples/proxapp.py index 095f412a..2935b587 100644 --- a/examples/proxapp.py +++ b/examples/proxapp.py @@ -16,7 +16,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 configure(options): +def start(): mitmproxy.ctx.master.apps.add(app, "proxapp", 80) # SSL works too, but the magic domain needs to be resolvable from the mitmproxy machine due to mitmproxy's design. -- cgit v1.2.3