How did this get through????
This commit is contained in:
parent
cd3a539243
commit
6f4fc38d7c
2 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,7 @@ func CurrentlyPlayingTrackSSE(ctx context.Context, pubSub pubsub.PubSub) error {
|
|||
|
||||
return SendSSE(ctx, pubSub, "spotify", `<div class="indicator-item badge badge-success"><a _='on mouseover put "🔥 Listening to `+songName+" by "+artistName+` 🔥" into my.textContent on mouseout put "🔥" into my.textContent' href="`+playing.Item.ExternalURLs["spotify"]+`" rel="noreferrer" target="_blank">🔥</a></div>`)
|
||||
} else {
|
||||
SendSSE(ctx, pubSub, "spotify", "")
|
||||
SendSSE(ctx, pubSub, "spotify", "<span></span>")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
@ -131,3 +131,4 @@ func HandleIncomingMessages(c echo.Context, pubsub pubsub.PubSubMessage, client
|
|||
}
|
||||
mutex.Unlock()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue