forked from I2P_Developers/i2p.www
another fix
This commit is contained in:
@ -70,7 +70,7 @@ def get(protocol, f):
|
||||
if not protocol in mirrors:
|
||||
abort(404)
|
||||
mirrors=mirrors[protocol]
|
||||
return redirect(mirrors[randint(0, len(mirrors) - 1)] % f)
|
||||
return redirect(mirrors[randint(0, len(mirrors) - 1)]['url'] % f)
|
||||
|
||||
@app.route('/<f>')
|
||||
def old_get(f):
|
||||
|
Reference in New Issue
Block a user