/languages should be only available for GET

This commit is contained in:
Sébastien Thuret 2022-04-03 13:17:13 +02:00
parent 2bbf17b835
commit d7377d174b
No known key found for this signature in database
GPG key ID: 230B93BBA62CB043

View file

@ -239,7 +239,7 @@ def create_app(args):
return render_template("javascript-licenses.html") return render_template("javascript-licenses.html")
@app.route("/languages", methods=["GET", "POST"]) @app.get("/languages")
@limiter.exempt @limiter.exempt
def langs(): def langs():
""" """