add babycode preview

This commit is contained in:
2026-05-28 10:00:10 +03:00
parent daf205f200
commit 27314f34a5
6 changed files with 104 additions and 7 deletions

View File

@@ -203,12 +203,14 @@ def create_app():
from app.routes.guides import bp as guides_bp
from app.routes.mod import bp as mod_bp
from app.routes.posts import bp as posts_bp
from app.routes.api import bp as api_bp
app.register_blueprint(topics_bp)
app.register_blueprint(threads_bp)
app.register_blueprint(users_bp)
app.register_blueprint(guides_bp)
app.register_blueprint(mod_bp)
app.register_blueprint(posts_bp)
app.register_blueprint(api_bp)
with app.app_context():
from .schema import create as create_tables