From 8ce62850dfe5fca6b4806b19dd097cc25f7b0270 Mon Sep 17 00:00:00 2001 From: Ref-Bit Date: Sat, 23 May 2020 17:23:42 +0300 Subject: [PATCH] Updated API to HTTPS protocol --- src/api/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index a076e8e..ee7b1c9 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,6 +1,6 @@ import axios from 'axios' -const apiTimesURL = 'http://api.aladhan.com/v1/' +const apiTimesURL = 'https://api.aladhan.com/v1/' const apiAyahURL = 'https://api.alquran.cloud/v1/' @@ -99,7 +99,7 @@ export const getTranslations = async (locale) => { export const getAsmaa = async () => { try{ - const { data } = await axios(`http://api.aladhan.com/asmaAlHusna`) + const { data } = await axios(`https://api.aladhan.com/asmaAlHusna`) return data } catch (error) {