aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-08-10 14:37:19 +0800
committerMatthew Shao <me@matshao.com>2017-08-10 14:37:19 +0800
commit3976ea01582717b8bf0e12cfe1160e7e1d8f0121 (patch)
treecde9188660fb25dd87656a1954edd6c558879201
parentbb0ab45348933e46248a06baf00bdb1bd4f4b382 (diff)
downloadmitmproxy-3976ea01582717b8bf0e12cfe1160e7e1d8f0121.tar.gz
mitmproxy-3976ea01582717b8bf0e12cfe1160e7e1d8f0121.tar.bz2
mitmproxy-3976ea01582717b8bf0e12cfe1160e7e1d8f0121.zip
[web] Import static.js in index.html
This is necessary after we introducing the static mode, or it will raise an "undefined" exception.
-rw-r--r--mitmproxy/tools/web/templates/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/tools/web/templates/index.html b/mitmproxy/tools/web/templates/index.html
index db9d2ecb..d2d01776 100644
--- a/mitmproxy/tools/web/templates/index.html
+++ b/mitmproxy/tools/web/templates/index.html
@@ -7,6 +7,7 @@
<link rel="stylesheet" href="/static/vendor.css"/>
<link rel="stylesheet" href="/static/app.css"/>
<link rel="icon" href="/static/images/favicon.ico" type="image/x-icon"/>
+ <script src="/static/static.js"></script>
<script src="/static/vendor.js"></script>
<script src="/static/app.js"></script>
</head>