mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-22 23:26:31 +00:00
/languages should be only available for GET
This commit is contained in:
parent
2bbf17b835
commit
d7377d174b
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ def create_app(args):
|
|||
|
||||
return render_template("javascript-licenses.html")
|
||||
|
||||
@app.route("/languages", methods=["GET", "POST"])
|
||||
@app.get("/languages")
|
||||
@limiter.exempt
|
||||
def langs():
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue