port mod app

This commit is contained in:
2025-06-30 22:13:12 +03:00
parent 453aeff95a
commit c22aa1036f
8 changed files with 80 additions and 41 deletions

View File

@ -71,9 +71,11 @@ def create_app():
from app.routes.app import bp as app_bp
from app.routes.topics import bp as topics_bp
from app.routes.users import bp as users_bp
from app.routes.mod import bp as mod_bp
app.register_blueprint(app_bp)
app.register_blueprint(topics_bp)
app.register_blueprint(users_bp)
app.register_blueprint(mod_bp)
app.config['SESSION_COOKIE_SECURE'] = True