diff --git a/app.py b/app.py index 484711a..07f9e75 100644 --- a/app.py +++ b/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/") +@app.route("/answer_post/", methods=['POST']) def answer_post(target_post_id): postos = db.collection('posts')