mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-26 09:51:01 +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")
|
return render_template("javascript-licenses.html")
|
||||||
|
|
||||||
@app.route("/languages", methods=["GET", "POST"])
|
@app.get("/languages")
|
||||||
@limiter.exempt
|
@limiter.exempt
|
||||||
def langs():
|
def langs():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue