Skip to content

Commit

Permalink
Deliver audio with the help of a load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1eef committed Nov 5, 2024
1 parent e2c5a96 commit cb6d94f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,29 +71,29 @@ won't need to install these tools:
* **audio.base_url** <br>
`audio.base_url` controls what web server serves
audio content.
[The default](https://audio.al-quran.reflectslight.io/rifai)
[The default](https://audio-al-quran.reflectslight.io/rifai)
works out of the box. The URL for an audio file is
resolved by joining `audio.base_url` and
`/<surahid>/<ayahid>.mp3`. The `audio.base_url` option
makes it relatively easy to change the reciter
at build time, before deploying the website.

The https://audio.al-quran.reflectslight.io endpoint
The https://audio-al-quran.reflectslight.io endpoint
provides the following recitations:

- Mishari bin Rashed Alafasy <br>
https://audio.al-quran.reflectslight.io/alafasy
https://audio-al-quran.reflectslight.io/alafasy
- Ahmad bin Ali Al-Ajmi <br>
https://audio.al-quran.reflectslight.io/alajmi
https://audio-al-quran.reflectslight.io/alajmi
- Sahl Yassin <br>
https://audio.al-quran.reflectslight.io/yassin
https://audio-al-quran.reflectslight.io/yassin
- Hani ar-Rifai <br>
https://audio.al-quran.reflectslight.io/rifai
https://audio-al-quran.reflectslight.io/rifai

**Note**<br>
Due to their overall size the audio files are the only
files **not** kept in this repository. The audio files
are hosted by https://audio.al-quran.reflectslight.io
are hosted by https://audio-al-quran.reflectslight.io
instead.

## Thanks
Expand Down
2 changes: 1 addition & 1 deletion nanoc.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data_sources:
layouts_dir: src/layouts

audio:
base_url: https://audio.al-quran.reflectslight.io/rifai
base_url: https://audio-al-quran.reflectslight.io/rifai

server:
base_url: https://al-quran.reflectslight.io
Expand Down
4 changes: 4 additions & 0 deletions share/al-quran.reflectslight.io/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

* vNEXT

** Deliver audio with the help of a load balancer
Audio content is delivered with the help of a load balancer
that directs the user to the nearest S3 bucket

** Match the look and feel of a book
The look and feel of the website has changed to be more like
a book that could fit in the palm of your hand
Expand Down

0 comments on commit cb6d94f

Please sign in to comment.