corrected route type for redirect

This commit is contained in:
Bryan Van Deusen
2025-12-21 19:29:38 -05:00
parent 71d16dbfb3
commit 2b21686127
+1 -1
View File
@@ -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