Update index.js
This commit is contained in:
parent
de9e4cee45
commit
73c828096e
2
index.js
2
index.js
@ -20,7 +20,7 @@ let DATA = {
|
|||||||
|
|
||||||
async function setWeatherInformation() {
|
async function setWeatherInformation() {
|
||||||
await fetch(
|
await fetch(
|
||||||
`https://api.openweathermap.org/data/2.5/weather?q=port%20huron&appid=${process.env.OPEN_WEATHER_MAP_KEY}&units=imperial`
|
`https://api.openweathermap.org/data/2.5/weather?q=fenton%2C%20michigan&appid=${process.env.OPEN_WEATHER_MAP_KEY}&units=imperial`
|
||||||
)
|
)
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(r => {
|
.then(r => {
|
||||||
|
Loading…
Reference in New Issue
Block a user