Skip to content

Commit

Permalink
Updated API to HTTPS protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Ref-Bit committed May 23, 2020
1 parent 581dcdd commit 8ce6285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/index.js
Original file line number Diff line number Diff line change
@@ -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/'


Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 8ce6285

Please sign in to comment.