From f228af4e7f03172766dbe4a1108a5d29c5bc8db2 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Wed, 3 Dec 2025 18:27:49 +0800 Subject: [PATCH] fix: Add missing nasa_api_timeout field to Settings --- backend/app/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/app/config.py b/backend/app/config.py index 7f1358e..caa994b 100644 --- a/backend/app/config.py +++ b/backend/app/config.py @@ -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: