Files
wehub-resource-sync 8f10353f0c
CI / lint (push) Has been cancelled
CI / js-syntax (push) Successful in 10m24s
CI / deps-audit (push) Has been cancelled
CI / test (push) Failing after 24m55s
CI / sast-bandit (push) Failing after 11m13s
CI / trivy (push) Failing after 9m32s
Docker Publish / build-and-push (push) Failing after 34m3s
chore: import upstream snapshot with attribution
2026-07-13 12:32:09 +08:00

13 lines
223 B
Python

from __future__ import annotations
from fastapi import APIRouter
from app.core.config import STEM_NAMES
router = APIRouter()
@router.get("/config")
def get_config() -> dict:
return {"stem_names": list(STEM_NAMES)}