diff --git a/Makefile b/Makefile index afe47c3..7e1c31c 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ start: build: docker build . -t $(IMAGE_NAME):$(GIT_TAG) +build-experimental: + docker build . -t $(IMAGE_NAME):experimental + bump-latest: docker tag $(IMAGE_NAME):$(GIT_TAG) $(IMAGE_NAME):latest @@ -19,3 +22,6 @@ push-current: login push-latest: login docker push $(IMAGE_NAME):latest + +push-experimental: login + docker push $(IMAGE_NAME):experimental diff --git a/public/main.js b/public/main.js index 8cf0bcd..5c5413f 100644 --- a/public/main.js +++ b/public/main.js @@ -163,7 +163,7 @@ const changeTitles = ({ artist, title }) => { } }; -const metadataChange = ({ data }) => { +const metadataChange = (data) => { changeTitles(data); }; @@ -175,7 +175,7 @@ const liveEnded = () => { logoDot.classList.remove("live"); }; -const setState = ({ data }) => { +const setState = (data) => { const { lastPlayed, isOnline } = data; if (lastPlayed) changeTitles(lastPlayed); if (isOnline) liveStarted();