mirror of
https://github.com/jbowdre/lolz.git
synced 2024-11-24 13:52:18 +00:00
musicthread test pulls direct from musicthread
This commit is contained in:
parent
f8eb2f1bc2
commit
e0d7f81664
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<script>
|
<script>
|
||||||
// retrieves latest link from a musicthread thread and displays it on the page
|
// retrieves latest link from a musicthread thread and displays it on the page
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
const musicthread = "https://jbowdre.paste.lol/musicthread.json/raw";
|
const musicthread = "https://musicthread.app/api/v0/thread/2aVjZUocjk96LELFbV5JvJjm14v";
|
||||||
const nowPlayingElement = document.getElementById("now-playing");
|
const nowPlayingElement = document.getElementById("now-playing");
|
||||||
if (nowPlayingElement) {
|
if (nowPlayingElement) {
|
||||||
fetch(musicthread)
|
fetch(musicthread)
|
||||||
|
|
Loading…
Reference in a new issue