mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Auto-generate download links.
This commit is contained in:
parent
d36cf63112
commit
9db2bcabad
@ -45,7 +45,7 @@ def index():
|
||||
@app.route('/download')
|
||||
@app.route('/download.html')
|
||||
def download():
|
||||
return render("download.html", True, section="download")
|
||||
return render("download.html", True, section="download", version=version.VERSION)
|
||||
|
||||
|
||||
@app.route('/about')
|
||||
|
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px; margin-bottom: 20px">
|
||||
<a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-0.2.tar.gz">pathod-0.2.tar.gz</a>
|
||||
<a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-{{version}}.tar.gz">pathod-{{version}}.tar.gz</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user