Use the mitm.it domain for the app, turn it on by default.

This commit is contained in:
Aldo Cortesi 2014-01-27 14:37:29 +13:00
parent 332eb67dfe
commit 2df321e71b

View File

@ -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",