add posts route

This commit is contained in:
2025-07-02 16:21:55 +03:00
parent 3da3054587
commit 76da1c3e61
4 changed files with 97 additions and 4 deletions

View File

@ -77,12 +77,14 @@ def create_app():
from app.routes.users import bp as users_bp
from app.routes.mod import bp as mod_bp
from app.routes.api import bp as api_bp
from app.routes.posts import bp as posts_bp
app.register_blueprint(app_bp)
app.register_blueprint(topics_bp)
app.register_blueprint(threads_bp)
app.register_blueprint(users_bp)
app.register_blueprint(mod_bp)
app.register_blueprint(api_bp)
app.register_blueprint(posts_bp)
app.config['SESSION_COOKIE_SECURE'] = True