Change default audio.base_url

This commit is contained in:
0x1eef 2024-08-27 09:44:38 -03:00
parent 73347ef37a
commit 072aa9fa90
3 changed files with 13 additions and 8 deletions

View file

@ -59,29 +59,30 @@ installed to build the website from source:
* **audio.base_url** <br>
`audio.base_url` controls what web server serves
audio content.
[The default](https://al-quran.reflectslight.io/audio/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://al-quran.reflectslight.io web server
The https://audio.al-quran.reflectslight.io endpoint
provides the following recitations:
- Mishari bin Rashed Alafasy <br>
https://al-quran.reflectslight.io/audio/alafasy
https://audio.al-quran.reflectslight.io/alafasy
- Ahmad bin Ali Al-Ajmi <br>
https://al-quran.reflectslight.io/audio/alajmi
https://audio.al-quran.reflectslight.io/alajmi
- Sahl Yassin <br>
https://al-quran.reflectslight.io/audio/yassin
https://audio.al-quran.reflectslight.io/yassin
- Hani ar-Rifai <br>
https://al-quran.reflectslight.io/audio/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://al-quran.reflectslight.io instead.
are hosted by https://audio.al-quran.reflectslight.io
instead.
## Thanks

View file

@ -21,7 +21,7 @@ data_sources:
layouts_dir: src/layouts
audio:
base_url: https://al-quran.reflectslight.io/audio/rifai
base_url: https://audio.al-quran.reflectslight.io/rifai
server:
base_url: https://al-quran.reflectslight.io

View file

@ -2,6 +2,10 @@
** vNEXT
**** Change default ~audio.base_url~
This change sets the default audio URL to
https://audio.al-quran.reflectslight.io/rifai
**** Improve KaiOS support
This change optimizes the layout for KaiOS devices through
specialized media queries