mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-04-28 11:13: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():
|
||||
images = [f for f in os.listdir(image_folder) if f.lower().endswith(('png', 'jpg', 'jpeg', 'gif'))]
|
||||
return render_template("gallery.html", images=images)
|
||||
|
Loading…
x
Reference in New Issue
Block a user