Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
🍩 sitemap
  • Loading branch information
thabti committed Jul 11, 2016
commit e417593041ce2c28793d59923f4adc38a0bced9b
2 changes: 1 addition & 1 deletion server/config/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default (server) => {
const client = new ApiClient(req);
const urls = [];

client.get('/surahs').then(surahs => {
client.get('/api/v2/surahs').then(surahs => {
surahs.forEach(surah => {
Array.apply(null, {length: surah.ayat}).forEach((_, index) => {
const ayahId = index + 1;
Expand Down