全局替换旧域名 polyweather-pro.vercel.app → polyweather.top
- payment-host: 移除 vercel 域名,加 www.polyweather.top - CORS: 移除 vercel,加 www - bot: 绑定链接 + 市场概览提示 - weather_sources: User-Agent
This commit is contained in:
@@ -158,7 +158,7 @@ class WeatherDataCollector(OpenMeteoCacheMixin, SettlementSourceMixin, MetarSour
|
||||
self.user_agent = str(
|
||||
os.getenv(
|
||||
"POLYWEATHER_USER_AGENT",
|
||||
"PolyWeather/1.0 (+https://polyweather-pro.vercel.app)",
|
||||
"PolyWeather/1.0 (+https://polyweather.top)",
|
||||
)
|
||||
).strip()
|
||||
self.session = httpx.Client(
|
||||
|
||||
Reference in New Issue
Block a user