[web] Add static.js to index.html, containing MITMWEB_STATIC var.

This commit is contained in:
Matthew Shao 2017-08-07 10:53:13 +08:00
parent f844c68e2e
commit 27f4c6d394
2 changed files with 2 additions and 0 deletions

1
mitmproxy/tools/web/static/static.js vendored Normal file
View File

@ -0,0 +1 @@
MITMWEB_STATIC = false;

View File

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