This commit is contained in:
Aevann1 2022-01-24 22:26:15 +02:00
parent c3f9b38182
commit a795bd39e9
10 changed files with 33 additions and 33 deletions

View file

@ -402,7 +402,7 @@ def random_post(v):
n = random.randint(1, total - 2)
post = x.offset(n).limit(1).one_or_none()
return redirect(f"/post/{post.id}")
return redirect(f"{SITE_FULL}/post/{post.id}")
@cache.memoize(timeout=86400)
def comment_idlist(page=1, v=None, nsfw=False, sort="new", t="all"):