From 2b2168612753c140c0c24f13810fe3b9dd0381b6 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 21 Dec 2025 19:29:38 -0500 Subject: [PATCH] corrected route type for redirect --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index f08ef10..1e50d4a 100644 --- a/app/main.py +++ b/app/main.py @@ -17,7 +17,7 @@ main = Blueprint('main', __name__) @main.route('/') def index(): - return redirect(url_for("gallery")) + return redirect(url_for("main.gallery")) # from random import choice # (kept from your original) # image = ImageRecord.query.order_by(func.random()).first() # background_url = None