Skip to content

Commit

Permalink
Fix API URls
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Sep 13, 2022
1 parent 434faa5 commit e122bec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion html/public/js/jquery.arabicScriptChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jQuery( document ).ready( function( $ ) {
var w = this;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/ayah/" + reference + '/' + edition,
url: "https://api.alquran.cloud/v1/ayah/" + reference + '/' + edition,
cache: false,
//dataType: 'jsonp',
success: function(data) {
Expand Down
2 changes: 1 addition & 1 deletion html/public/js/jquery.ayah.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jQuery( document ).ready( function( $ ) {
var w = this;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/ayah/" + reference + '/' + edition,
url: "https://api.alquran.cloud/v1/ayah/" + reference + '/' + edition,
cache: false,
//dataType: 'jsonp',
success: function(data) {
Expand Down
2 changes: 1 addition & 1 deletion html/public/js/jquery.juz.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jQuery( document ).ready( function( $ ) {
var w = this;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/juz/" + reference + '/' + edition,
url: "https://api.alquran.cloud/v1/juz/" + reference + '/' + edition,
cache: false,
//dataType: 'jsonp',
success: function (data) {
Expand Down
4 changes: 2 additions & 2 deletions html/public/js/jquery.quran.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jQuery( document ).ready( function( $ ) {
var ayahNumber;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/ayah/" + (surahid) + ':' + 1,
url: "https://api.alquran.cloud/v1/ayah/" + (surahid) + ':' + 1,
cache: false,
success: function(data) {
// Update timings
Expand Down Expand Up @@ -94,7 +94,7 @@ jQuery( document ).ready( function( $ ) {
var w = this;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/quran/" + edition,
url: "https://api.alquran.cloud/v1/quran/" + edition,
cache: false,
//dataType: 'jsonp',
success: function(data) {
Expand Down
2 changes: 1 addition & 1 deletion html/public/js/jquery.surah.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jQuery( document ).ready( function( $ ) {
var w = this;
$.ajax({
type: "GET",
url: "https://api.alquran.cloud/surah/" + reference + '/' + edition,
url: "https://api.alquran.cloud/v1/surah/" + reference + '/' + edition,
cache: false,
//dataType: 'jsonp',
success: function(data) {
Expand Down

0 comments on commit e122bec

Please sign in to comment.