diff --git a/ruqqus/routes/front.py b/ruqqus/routes/front.py index 0eee59391..f7dd354e6 100644 --- a/ruqqus/routes/front.py +++ b/ruqqus/routes/front.py @@ -179,7 +179,6 @@ def frontlist(v=None, sort="hot", page=1,t="all", ids_only=True, filter_words='' @app.route("/api/v1/listing", methods=["GET"]) @auth_desired def front_all(v): - return "Upgrading server, be back in 10 minutes" if v and v.is_banned and not v.unban_utc: return render_template("seized.html") page = int(request.args.get("page") or 1) diff --git a/ruqqus/routes/posts.py b/ruqqus/routes/posts.py index 976f008fb..49fd5f611 100644 --- a/ruqqus/routes/posts.py +++ b/ruqqus/routes/posts.py @@ -375,7 +375,7 @@ def thumbs(new_post): for chunk in image_req.iter_content(1024): file.write(chunk) - post.thumburl = upload_from_file(name, tempname, resize=(375, 227)) + post.thumburl = upload_from_file(name, tempname, resize=(150, 100)) if post.thumburl: post.has_thumb = True g.db.add(post) g.db.commit()