aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/master.py
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-08-21 09:27:49 +0800
committerMatthew Shao <me@matshao.com>2017-08-21 09:41:13 +0800
commit2baa2c4049ab6b2801b3836b28b3e9df815a0075 (patch)
tree30eb41c7d588825e8739b3b7da8925c47d3ba437 /mitmproxy/tools/web/master.py
parentd008f179c3e6fa620c6babc6cedf8e7df9093827 (diff)
downloadmitmproxy-2baa2c4049ab6b2801b3836b28b3e9df815a0075.tar.gz
mitmproxy-2baa2c4049ab6b2801b3836b28b3e9df815a0075.tar.bz2
mitmproxy-2baa2c4049ab6b2801b3836b28b3e9df815a0075.zip
[web] Move static viewer from default addon to WebMaster.
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r--mitmproxy/tools/web/master.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py
index b13aeff9..c391a1cd 100644
--- a/mitmproxy/tools/web/master.py
+++ b/mitmproxy/tools/web/master.py
@@ -12,6 +12,7 @@ from mitmproxy.addons import readfile
from mitmproxy.addons import termlog
from mitmproxy.addons import view
from mitmproxy.addons import termstatus
+from mitmproxy.addons import static_viewer
from mitmproxy.options import Options # noqa
from mitmproxy.tools.web import app, webaddons
@@ -37,6 +38,7 @@ class WebMaster(master.Master):
webaddons.WebAddon(),
intercept.Intercept(),
readfile.ReadFile(),
+ static_viewer.StaticViewer(),
self.view,
self.events,
)