全局替换旧域名 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:
2569718930@qq.com
2026-05-26 19:53:47 +08:00
parent dd585ac83b
commit 88b80d66e8
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ app = FastAPI(title="PolyWeather Map", version="1.0")
_cors_origins = os.getenv(
"WEB_CORS_ORIGINS",
"http://localhost:3000,http://127.0.0.1:3000,https://polyweather-pro.vercel.app,https://polyweather.top,https://api.polyweather.top",
"http://localhost:3000,http://127.0.0.1:3000,https://polyweather.top,https://www.polyweather.top,https://api.polyweather.top",
)
app.add_middleware(
CORSMiddleware,