remotes/1693045480750635534/spooky-22
Aevann1 2021-07-21 04:05:54 +02:00
parent 00f6b92ea2
commit 5890f8fdb1
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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()