aboutsummaryrefslogtreecommitdiffstats
path: root/examples/stickycookies
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stickycookies')
-rwxr-xr-xexamples/stickycookies5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/stickycookies b/examples/stickycookies
index d2368e22..132e4dc7 100755
--- a/examples/stickycookies
+++ b/examples/stickycookies
@@ -37,8 +37,9 @@ class StickyMaster(controller.Master):
config = proxy.ProxyConfig(
- ca_file = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
+ port=8080,
+ ca_file=os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
)
-server = ProxyServer(config, 8080)
+server = ProxyServer(config)
m = StickyMaster(server)
m.run()