This commit is contained in:
garrying
2021-04-20 01:08:04 +00:00
parent e0be473fe5
commit ce1e9ac701
34 changed files with 162 additions and 162 deletions

View File

@ -402,7 +402,7 @@ if (noteExpander) {
const capitalize = str => `${str.charAt(0).toUpperCase()}${str.slice(1)}`
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) {
window.fetch(openWeatherUrl)