Skip to content

Commit

Permalink
update https for endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ewan-MR committed Mar 18, 2024
1 parent b9d9fcc commit 2d13db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function App() {
useEffect(() => {
//fetch the data from API endpoint
fetch(
`http://api.weatherapi.com/v1/current.json?key=650ad8fb3c6e4ecab3190253232706&q=${currentCity}&aqi=no`
`https://api.weatherapi.com/v1/current.json?key=650ad8fb3c6e4ecab3190253232706&q=${currentCity}&aqi=no`
)
.then((res) => res.json())
.then((result) => {
Expand Down

0 comments on commit 2d13db6

Please sign in to comment.