Files

15 lines
314 B
Python
Raw Permalink Normal View History

2025-07-21 19:20:44 +01:00
from flask import Flask
def create_app():
app = Flask(__name__)
# Register blueprints
from app.routes import main_bp
app.register_blueprint(main_bp)
# Ensure the static folder is properly set
app.static_folder = 'static'
app.template_folder = 'templates'
return app