Skip to content

Commit

Permalink
memes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelTattersfield committed May 3, 2024
1 parent fcd251b commit 59fc8e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
const playlist = ref([]);
const nowPlaying = ref({});
const skipText = ref("Vote song is shit");
const skipText = ref("Vote song uploader is a cunt");
async function refreshPlaylist () {
playlist.value = await $fetch(runtimeConfig.public.apiEndpoint + `/tracks`).catch((error) => error.data)
Expand All @@ -48,10 +48,10 @@
try {
await $fetch(`${runtimeConfig.public.apiEndpoint}/votes/skip`, {method: 'POST', body: { uri: nowPlaying.value.uri }})
skipText.value = "Order received, Obergruppenführer";
setTimeout(() => skipText.value = "Vote song is shit", 10000)
setTimeout(() => skipText.value = "Vote song uploader is a cunt", 10000)
} catch (error) {
skipText.value = "Chill out, music hitler";
setTimeout(() => skipText.value = "Vote song is shit", 10000)
setTimeout(() => skipText.value = "Vote song uploader is a cunt", 10000)
}
refreshPlaylist();
}
Expand Down

0 comments on commit 59fc8e0

Please sign in to comment.