- Cleaned up the Nginx configuration for the Coolify deployment, ensuring proper formatting and organization. - Updated the `pyproject.toml` file to maintain consistent formatting. - Reformatted the `requirements.txt` file for better readability while keeping the dependencies unchanged.
17 lines
403 B
Python
17 lines
403 B
Python
"""Flask frontend application factory."""
|
|
from flask import Flask
|
|
|
|
from .config import Config
|
|
from .filters import register_filters
|
|
from .routes import register_blueprints
|
|
|
|
|
|
def create_app() -> Flask:
|
|
"""Create and configure the Flask application."""
|
|
app = Flask(__name__)
|
|
app.config.from_object(Config)
|
|
|
|
register_filters(app)
|
|
register_blueprints(app)
|
|
|
|
return app |