24h forecasting

This commit is contained in:
2026-06-24 13:17:36 -04:00
parent 8c6e7cdbcd
commit 2c137348d8

View File

@@ -181,10 +181,10 @@ app.get('*', (req, res) => {
// ── Start ─────────────────────────────────────────────────────────────────────
// refreshForecast()
// setInterval(refreshForecast, 10 * 60 * 1000)
const c = cfg();
app.listen(c.PORT, () => {
console.log(`🌦 Weather API — http://localhost:${c.PORT}`)
refreshForecast()
setInterval(refreshForecast, 10 * 60 * 1000)
});