mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-04-28 19:23:41 +01:00
move gallery to /images
This commit is contained in:
parent
0838f37017
commit
dcc0cdc657
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user