From 174399a81e2643be582be7efc7c56efb165db170 Mon Sep 17 00:00:00 2001 From: MuhammadFarouk12 Date: Tue, 19 Aug 2025 03:14:53 +0300 Subject: [PATCH] adding the *s* in https --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index d9b20f2..f307c89 100644 --- a/app.js +++ b/app.js @@ -4,7 +4,7 @@ async function getTimes(city, countryCode, wantsAll){ document.getElementById("show_city").innerText = city.toUpperCase() + " City " document.getElementById("show_country").innerText = countryCode.toUpperCase() + " Country" try { - const response = await fetch(`http://api.aladhan.com/v1/timingsByCity?city=${city}&country=${countryCode}`) + const response = await fetch(`https://api.aladhan.com/v1/timingsByCity?city=${city}&country=${countryCode}`) const parsedResponse = await response.json(); const times = parsedResponse.data.timings let container = ""