fsd
This commit is contained in:
parent
f1e2a6d6ad
commit
5d6e14b9b3
17 changed files with 53 additions and 53 deletions
|
@ -123,7 +123,7 @@ def submit_get(v, sub=None):
|
|||
@auth_desired
|
||||
def post_id(pid, anything=None, v=None, sub=None):
|
||||
if not v and not request.path.startswith('/logged_out') and not request.headers.get("Authorization"):
|
||||
return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
return redirect(f"/logged_out{request.full_path}")
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
|
||||
|
@ -990,7 +990,7 @@ def submit_post(v, sub=None):
|
|||
_note="spam"
|
||||
)
|
||||
g.db.add(ma)
|
||||
return redirect(f"{SITE_FULL}/notifications")
|
||||
return redirect("/notifications")
|
||||
|
||||
if len(str(body)) > 20000:
|
||||
return error("There's a 20000 character limit for text body.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue