diff options
author | Matthew Shao <me@matshao.com> | 2017-08-10 14:37:19 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-10 14:37:19 +0800 |
commit | 3976ea01582717b8bf0e12cfe1160e7e1d8f0121 (patch) | |
tree | cde9188660fb25dd87656a1954edd6c558879201 | |
parent | bb0ab45348933e46248a06baf00bdb1bd4f4b382 (diff) | |
download | mitmproxy-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.html | 1 |
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> |