diff --git a/views/web_views.py b/views/web_views.py index 9b68d7ec7..47dd711a2 100644 --- a/views/web_views.py +++ b/views/web_views.py @@ -161,8 +161,8 @@ def team(): return render_template("team.html", contributors=contributors) -@app.route("/contributors", strict_slashes=False) -@app.route("//contributors", strict_slashes=False) +@app.route("/contributors", methods=["GET"], strict_slashes=False) +@app.route("//contributors", methods=["GET"], strict_slashes=False) def contributors(): contributors = db_models.Contributor.query.all() return jsonify({"contributors": contributors})