Skip to content

Commit 7a4ef79

Browse files
solving mixed content trial
1 parent 5373adb commit 7a4ef79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ app.displayStoryContent = data => {
157157

158158
app.localTime = latLong => {
159159
$.ajax({
160-
url: "http://api.timezonedb.com/v2.1/get-time-zone",
160+
url: "https://api.timezonedb.com/v2.1/get-time-zone",
161161
method: "GET",
162162
dataType: "json",
163163
data: {
@@ -208,7 +208,7 @@ function formatTime(nowDate) {
208208

209209
app.localWeather = latLong => {
210210
$.ajax({
211-
url: "http://api.openweathermap.org/data/2.5/weather",
211+
url: "https://api.openweathermap.org/data/2.5/weather",
212212
method: "GET",
213213
dataType: "json",
214214
data: {

0 commit comments

Comments
 (0)