fix: handle trailing slashes
Docker Build and Push / build-and-push (push) Successful in 2m2s

This commit is contained in:
2025-12-31 23:05:25 +03:00
parent 03cbd2f60b
commit 2c0f65e59f
+2 -2
View File
@@ -78,12 +78,12 @@ def home():
return redirect(url_for("index", lang=helpers.get_best_lang()))
@app.route("/<lang>")
@app.route("/<lang>", strict_slashes=False)
def index(lang):
return helpers.render_localized_template(lang, "index.html")
@app.route("/<lang>/download")
@app.route("/<lang>/download", strict_slashes=False)
def download(lang):
return helpers.render_localized_template(lang, "download.html")