This commit is contained in:
Aevann1 2022-03-17 20:36:55 +02:00
parent c920aaf81a
commit be1219e792
3 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ def publish(pid, v):
g.db.commit()
return {"message": "Post published!"}
return redirect(p.permalink)
@app.get("/submit")
@app.get("/h/<sub>/submit")