포인트 시스템 추가, 프론트 국기 반영

This commit is contained in:
JinwooKim committed 2026-06-10 15:11:56 +09:00
1 parent 6ffe0dfca3
commit 1a803b7fa0
58 files changed
+326 -68

No files matched your search

+2
View File
@@ -14,6 +14,7 @@ from fastapi.middleware.cors import CORSMiddleware
from .config import settings
from .database import init_db
from .routers import admin, leaderboard, matches, predictions
from .scoring import load_scoring_data
from .seed import seed_if_empty
logging.basicConfig(level=logging.INFO)
@@ -22,6 +23,7 @@ log = logging.getLogger("triplepick")
@asynccontextmanager
async def lifespan(app: FastAPI): # noqa: ANN201
load_scoring_data() # data/scoring.json → 배점·배제 대상
await init_db()
await seed_if_empty()
log.info("API ready")