mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
14 lines
211 B
Python
14 lines
211 B
Python
from fastapi import APIRouter
|
|
from config.config import get_learnhouse_config
|
|
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/config")
|
|
async def config():
|
|
config = get_learnhouse_config()
|
|
return config.dict()
|
|
|
|
|
|
|