Skip to content

Commit

Permalink
Update GeoWeather.js
Browse files Browse the repository at this point in the history
  • Loading branch information
justoverclockl committed Aug 9, 2021
1 parent bf10d3f commit 81d108b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/GeoWeather.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function () {
let long = position.coords.longitude;
let API_KEY = app.forum.attribute('wheaterApiKey');
let lang = app.forum.attribute('lang') || 'en';
let baseURL = `http://api.openweathermap.org/data/2.5/onecall?lat=${lat}&lon=${long}&lang=${lang}&appid=${API_KEY}`;
let baseURL = `https://api.openweathermap.org/data/2.5/onecall?lat=${lat}&lon=${long}&lang=${lang}&appid=${API_KEY}`;

$.get(baseURL, function (res) {
let data = res.current;
Expand Down

0 comments on commit 81d108b

Please sign in to comment.