diff options
author | Lucas Ramage <ramage.lucas@protonmail.com> | 2020-04-05 10:36:09 -0400 |
---|---|---|
committer | Lucas Ramage <ramage.lucas@protonmail.com> | 2020-04-05 10:36:09 -0400 |
commit | cea443f21c40b522a8fe619355ca5a8d618730e9 (patch) | |
tree | f418559ff601fa55593c0dd28b0418f2d74e0489 /mitmproxy/tools/web/master.py | |
parent | 481970d9b880bbbeea906c07fc5ce925a8aa5b17 (diff) | |
download | mitmproxy-cea443f21c40b522a8fe619355ca5a8d618730e9.tar.gz mitmproxy-cea443f21c40b522a8fe619355ca5a8d618730e9.tar.bz2 mitmproxy-cea443f21c40b522a8fe619355ca5a8d618730e9.zip |
Rename web-iface to web-host
Bug: https://github.com/mitmproxy/mitmproxy/issues/3891
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r-- | mitmproxy/tools/web/master.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 17845106..d127bdec 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -105,8 +105,8 @@ class WebMaster(master.Master): AsyncIOMainLoop().install() iol = tornado.ioloop.IOLoop.instance() http_server = tornado.httpserver.HTTPServer(self.app) - http_server.listen(self.options.web_port, self.options.web_iface) - web_url = "http://{}:{}/".format(self.options.web_iface, self.options.web_port) + http_server.listen(self.options.web_port, self.options.web_host) + web_url = "http://{}:{}/".format(self.options.web_host, self.options.web_port) self.log.info( "Web server listening at {}".format(web_url), ) |