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