feat: support parse config file with Variable Expansion for some secret key

This commit is contained in:
zthxxx
2023-06-09 02:18:00 +08:00
parent b54e836c46
commit 70716a19f7
6 changed files with 62 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ async def get_config(current_user=Depends(get_current_user)):
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED, detail="invalid token"
)
return settings
return settings.dict()
@router.post("/updateConfig")