aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-01-27 14:37:29 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-01-27 14:37:29 +1300
commit2df321e71bb4f7bd240d889b05467e5ce13012f6 (patch)
treea3c2df65632e8967cc551760c8e9954a60db60e1
parent332eb67dfe292bb5b2b3bc1b55a33d6095d7e809 (diff)
downloadmitmproxy-2df321e71bb4f7bd240d889b05467e5ce13012f6.tar.gz
mitmproxy-2df321e71bb4f7bd240d889b05467e5ce13012f6.tar.bz2
mitmproxy-2df321e71bb4f7bd240d889b05467e5ce13012f6.zip
Use the mitm.it domain for the app, turn it on by default.
-rw-r--r--libmproxy/cmdline.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py
index e221a872..8e7ab4a1 100644
--- a/libmproxy/cmdline.py
+++ b/libmproxy/cmdline.py
@@ -2,7 +2,7 @@ import proxy
import re, filt
import argparse
-APP_HOST = "mitm"
+APP_HOST = "mitm.it"
APP_PORT = 80
class ParseException(Exception): pass
@@ -263,8 +263,8 @@ def common_options(parser):
group = parser.add_argument_group("Web App")
group.add_argument(
"-a",
- action="store_true", dest="app", default=False,
- help="Enable the mitmproxy web app."
+ action="store_false", dest="app", default=True,
+ help="Disable the mitmproxy web app."
)
group.add_argument(
"--app-host",