From 072aa9fa908e624bfc8ede71d871d2e3a5aca4f4 Mon Sep 17 00:00:00 2001
From: 0x1eef <0x1eef@protonmail.com>
Date: Tue, 27 Aug 2024 09:44:38 -0300
Subject: [PATCH] Change default audio.base_url
---
README.md | 15 ++++++++-------
nanoc.yaml.sample | 2 +-
share/al-quran.reflectslight.io/CHANGELOG | 4 ++++
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 8a6cae1..ceab3a5 100644
--- a/README.md
+++ b/README.md
@@ -59,29 +59,30 @@ installed to build the website from source:
* **audio.base_url**
`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
`//.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
- https://al-quran.reflectslight.io/audio/alafasy
+ https://audio.al-quran.reflectslight.io/alafasy
- Ahmad bin Ali Al-Ajmi
- https://al-quran.reflectslight.io/audio/alajmi
+ https://audio.al-quran.reflectslight.io/alajmi
- Sahl Yassin
- https://al-quran.reflectslight.io/audio/yassin
+ https://audio.al-quran.reflectslight.io/yassin
- Hani ar-Rifai
- https://al-quran.reflectslight.io/audio/rifai
+ https://audio.al-quran.reflectslight.io/rifai
**Note**
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
diff --git a/nanoc.yaml.sample b/nanoc.yaml.sample
index c26e2ce..c3b2b7e 100644
--- a/nanoc.yaml.sample
+++ b/nanoc.yaml.sample
@@ -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
diff --git a/share/al-quran.reflectslight.io/CHANGELOG b/share/al-quran.reflectslight.io/CHANGELOG
index 857dc41..74620e5 100644
--- a/share/al-quran.reflectslight.io/CHANGELOG
+++ b/share/al-quran.reflectslight.io/CHANGELOG
@@ -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