13 lines
No EOL
390 B
Python
13 lines
No EOL
390 B
Python
from flask import Flask
|
|
from .api import api_bp
|
|
from .static_routes import static_bp
|
|
from .auth import auth_bp
|
|
from .admin import admin_bp
|
|
from .search import search_bp
|
|
|
|
def register_blueprints(app: Flask):
|
|
app.register_blueprint(api_bp)
|
|
app.register_blueprint(static_bp)
|
|
app.register_blueprint(auth_bp)
|
|
app.register_blueprint(admin_bp)
|
|
app.register_blueprint(search_bp) |