|
@ -99,7 +99,7 @@ def can_list(): |
|
|
} for name, ques, hint, ans in C.verify |
|
|
} for name, ques, hint, ans in C.verify |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
return render_template('list.html', pagination=pag, vs=vs, showPrivate=(key==C.key), sort_by=sort_by, key=key) |
|
|
|
|
|
|
|
|
return render_template('list.html', pagination=pag, vs=vs, showPrivate=(key==C.key), sort_by=sort_by, key=key, base_toot_url='https://%s/web/statuses/' % C.domain) |
|
|
|
|
|
|
|
|
@app.route('/ordinary/new', methods=['POST']) |
|
|
@app.route('/ordinary/new', methods=['POST']) |
|
|
@limiter.limit("5 / hour; 1 / 2 second") |
|
|
@limiter.limit("5 / hour; 1 / 2 second") |
|
|