aboutsummaryrefslogtreecommitdiff
path: root/app/cdn/js/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/cdn/js/home.js')
-rw-r--r--app/cdn/js/home.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/cdn/js/home.js b/app/cdn/js/home.js
deleted file mode 100644
index d875860..0000000
--- a/app/cdn/js/home.js
+++ /dev/null
@@ -1,12 +0,0 @@
-setInterval(() => {
- window.fetch("/app/radio/song.php").then((raw) => {
- raw.text().then((text) => {
- document.getElementById('radio-now').innerText = text;
- })
- })
- window.fetch("/app/radio/next.php").then((raw) => {
- raw.text().then((text) => {
- document.getElementById('radio-next').innerText = text;
- })
- })
-}, 2000) \ No newline at end of file