fix: Add missing nasa_api_timeout field to Settings

main
mula.liu 2025-12-03 18:27:49 +08:00
parent eb512918ae
commit f228af4e7f
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class Settings(BaseSettings):
)
# Application
app_name: str = "Cosmo - Deep Space Explorer"
app_name: str = "COSMO - Deep Space Explorer"
api_prefix: str = "/api"
# CORS settings - stored as string in env, converted to list
@ -67,6 +67,7 @@ class Settings(BaseSettings):
# Proxy settings (for accessing NASA JPL Horizons API in China)
http_proxy: str = ""
https_proxy: str = ""
nasa_api_timeout: int = 30
@property
def proxy_dict(self) -> dict[str, str] | None: