This commit is contained in:
parent
a622768a13
commit
d97035a32b
2
app.py
2
app.py
@ -64,7 +64,7 @@ def page_posts_from_db(target_post_id=None):
|
||||
return render_template("interactive-posts.html", host_id=docker_short_id, postos=postos, target_post_id=target_post_id)
|
||||
|
||||
|
||||
@app.route("/answer_post/<target_post_id>")
|
||||
@app.route("/answer_post/<target_post_id>", methods=['POST'])
|
||||
def answer_post(target_post_id):
|
||||
|
||||
postos = db.collection('posts')
|
||||
|
Loading…
Reference in New Issue
Block a user