diff --git a/app.py b/app.py index e4d3406..71c5cbf 100644 --- a/app.py +++ b/app.py @@ -51,10 +51,11 @@ def send_img(path): return send_from_directory('static/img', path) @app.route('/ordinary/set_session') -@limiter.limit("3 / hour; 1 / 5 minute") +@limiter.limit("2 / hour; 1 / 5 minute") def set_session(): if 'uid' not in session: session['uid'] = random.randint(0, 2000000000) + session.permanent = True return redirect('.') @app.route('/ordinary/') diff --git a/static/img/ord/bg_1.jpg b/static/img/ord/bg_1.jpg new file mode 100644 index 0000000..cbdaaf8 Binary files /dev/null and b/static/img/ord/bg_1.jpg differ diff --git a/templates/list.html b/templates/list.html index 7ba4350..a450d29 100644 --- a/templates/list.html +++ b/templates/list.html @@ -227,6 +227,7 @@ {% for c in pagination.items %}
+ #{{c.id}}
{{c.content}}
{% if showPrivate %}