This commit is contained in:
Garry Ing 2021-04-19 21:07:34 -04:00
parent 3b39ca7578
commit d403c12670
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E

View File

@ -402,7 +402,7 @@ if (noteExpander) {
const capitalize = str => `${str.charAt(0).toUpperCase()}${str.slice(1)}` const capitalize = str => `${str.charAt(0).toUpperCase()}${str.slice(1)}`
const conditionsContainer = document.getElementById('gardenConditions') const conditionsContainer = document.getElementById('gardenConditions')
const openWeatherUrl = 'https://api.openweathermap.org/data/2.5/weather?q=Toronto&units=metric&appid=afe544d6e6f442f817b2f43eafdca885' const openWeatherUrl = 'https://garden-weather-api.vercel.app/weather/toronto'
if (conditionsContainer) { if (conditionsContainer) {
window.fetch(openWeatherUrl) window.fetch(openWeatherUrl)