mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
parent
27c7e9e934
commit
1b41b9bb9b
@ -1,4 +1,6 @@
|
||||
import logging, pprint, cStringIO
|
||||
import logging
|
||||
import pprint
|
||||
import cStringIO
|
||||
from flask import Flask, jsonify, render_template, request, abort, make_response
|
||||
import version, language, utils
|
||||
from netlib import http_uastrings
|
||||
@ -39,7 +41,12 @@ def make_app(noapi):
|
||||
@app.route('/')
|
||||
@app.route('/index.html')
|
||||
def index():
|
||||
return render("index.html", True, section="main")
|
||||
return render(
|
||||
"index.html",
|
||||
True,
|
||||
section="main",
|
||||
version=version.VERSION
|
||||
)
|
||||
|
||||
@app.route('/download')
|
||||
@app.route('/download.html')
|
||||
|
@ -56,7 +56,7 @@
|
||||
<h2>source</h2>
|
||||
|
||||
<ul>
|
||||
<li>Current release: <a href="http://mitmproxy.org/download/pathod-0.9.2.tar.gz">pathod 0.9.2</a></li>
|
||||
<li>Current release: <a href="http://mitmproxy.org/download/pathod-{{version}}.tar.gz">pathod {{version}}</a></li>
|
||||
|
||||
<li>GitHub: <a href="http://github.com/mitmproxy/pathod">github.com/cortesi/pathod</a></li>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user