move gallery to /images

This commit is contained in:
Karl Hudgell 2025-04-01 17:08:56 +01:00
parent 0838f37017
commit dcc0cdc657

View File

@ -27,7 +27,7 @@ def index():
) )
@app.route("/gallery") @app.route("/images")
def gallery(): def gallery():
images = [f for f in os.listdir(image_folder) if f.lower().endswith(('png', 'jpg', 'jpeg', 'gif'))] images = [f for f in os.listdir(image_folder) if f.lower().endswith(('png', 'jpg', 'jpeg', 'gif'))]
return render_template("gallery.html", images=images) return render_template("gallery.html", images=images)