diff options
author | Matthew Shao <me@matshao.com> | 2017-08-07 10:53:13 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-07 10:53:13 +0800 |
commit | 27f4c6d394f611b2b975a99751a306e09d17d68c (patch) | |
tree | a56b3091d0503134393f4bbc71ecf0ce995427b8 | |
parent | f844c68e2ec6b9daedc376f75ae0a4e09a4ac22c (diff) | |
download | mitmproxy-27f4c6d394f611b2b975a99751a306e09d17d68c.tar.gz mitmproxy-27f4c6d394f611b2b975a99751a306e09d17d68c.tar.bz2 mitmproxy-27f4c6d394f611b2b975a99751a306e09d17d68c.zip |
[web] Add static.js to index.html, containing MITMWEB_STATIC var.
-rw-r--r-- | mitmproxy/tools/web/static/static.js | 1 | ||||
-rw-r--r-- | web/src/templates/index.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/tools/web/static/static.js b/mitmproxy/tools/web/static/static.js new file mode 100644 index 00000000..4ffedbcf --- /dev/null +++ b/mitmproxy/tools/web/static/static.js @@ -0,0 +1 @@ +MITMWEB_STATIC = false;
\ No newline at end of file diff --git a/web/src/templates/index.html b/web/src/templates/index.html index db9d2ecb..d2d01776 100644 --- a/web/src/templates/index.html +++ b/web/src/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> |