17 lines
415 B
Python
17 lines
415 B
Python
from __future__ import annotations
|
|
|
|
from .douyin_features import register_douyin_routes
|
|
|
|
try:
|
|
from . import core_main as core
|
|
except Exception:
|
|
# Keep a bytecode-backed fallback so the app can still boot if the
|
|
# recovered source baseline is incomplete in this workspace.
|
|
from .legacy_runtime import load_legacy_main
|
|
|
|
core = load_legacy_main()
|
|
|
|
app = core.app
|
|
|
|
register_douyin_routes(app, core)
|