v1
This commit is contained in:
15
server/routes/__init__.py
Normal file
15
server/routes/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Blueprint registration for the server application."""
|
||||
from __future__ import annotations
|
||||
|
||||
from flask import Flask
|
||||
|
||||
from . import admin, auth, contact, monitoring, newsletter
|
||||
|
||||
|
||||
def register_blueprints(app: Flask) -> None:
|
||||
"""Register all HTTP blueprints with the Flask app."""
|
||||
app.register_blueprint(contact.bp)
|
||||
app.register_blueprint(newsletter.bp)
|
||||
app.register_blueprint(monitoring.bp)
|
||||
app.register_blueprint(auth.bp)
|
||||
app.register_blueprint(admin.bp)
|
||||
Reference in New Issue
Block a user