forked from mirrors/LibreTranslate
/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