移除源码中硬编码的 API token:NOAA MesoWest 密钥和 CWA 占位符

This commit is contained in:
2569718930@qq.com
2026-05-19 15:18:49 +08:00
parent 96b642ffac
commit 4c6a93498c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ def _reconcile_recent_noaa_actual_highs(city_name: str, lookback_days: int = 14)
"showemptystations": 1,
"recent": recent_minutes,
"complete": 1,
"token": "7c76618b66c74aee913bdbae4b448bdd",
"token": os.environ.get("NOAA_WRH_MESO_TOKEN", ""),
"obtimezone": "local",
},
headers={