update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user