In a PlaylistNext handler return a \n character as well.
This commit is contained in:
parent
29714b30ca
commit
1990f1c7f0
@ -72,7 +72,7 @@ func (dj *DJHandlers) PlaylistNext(w http.ResponseWriter, _ *http.Request) {
|
||||
dj.songList.Add(song)
|
||||
}()
|
||||
}
|
||||
fmt.Fprint(w, nxt)
|
||||
fmt.Fprintln(w, nxt)
|
||||
}
|
||||
|
||||
func (dj *DJHandlers) Song(w http.ResponseWriter, r *http.Request) {
|
||||
|
Loading…
Reference in New Issue
Block a user