diff --git a/api/storm-forecast.js b/api/storm-forecast.js index 01f2f9b..d7dbb19 100644 --- a/api/storm-forecast.js +++ b/api/storm-forecast.js @@ -63,7 +63,7 @@ export default async function handler(req, res) { 'humidityAvg', ].join(','); - const url = `https://api.tomorrow.io/v4/weather/forecast?location=${PLANO_LAT},${PLANO_LNG}&apikey=${key}×teps=1d&fields=${fields}`; + const url = `https://api.tomorrow.io/v4/weather/forecast?location=${PLANO_LAT},${PLANO_LNG}&apikey=${key}×teps=1d&units=imperial&fields=${fields}`; const resp = await fetch(url, { headers: { Accept: 'application/json' }, });