Skip to content

Commit

Permalink
changed to https
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterW1 committed Sep 24, 2023
1 parent bcea6fd commit fa617eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetchurl.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export const url = {
return `https://api.openweathermap.org/data/2.5/forecast?lat=${lat}&lon=${lon}&units=imperial`
},
airPollution(lat, lon) {
return `http://api.openweathermap.org/data/2.5/air_pollution?lat=${lat}&lon=${lon}`
return `https://api.openweathermap.org/data/2.5/air_pollution?lat=${lat}&lon=${lon}`
},
reverseGeo(lat, lon) {
return `http://api.openweathermap.org/geo/1.0/reverse?lat=${lat}&lon=${lon}&limit=5`
return `https://api.openweathermap.org/geo/1.0/reverse?lat=${lat}&lon=${lon}&limit=5`
},

/**
Expand Down

0 comments on commit fa617eb

Please sign in to comment.