mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-06-29 22:51:10 +02:00
cmd/mtredisalize/leveldb.go
This commit is contained in:
@ -177,7 +177,7 @@ func (ps *players) initConnection(wsf *websocketForwarder, c *connection) {
|
||||
wsf.singleSend(c, &plsMsg{Pls: ps.current()})
|
||||
}
|
||||
|
||||
func (ps *players) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
|
||||
func (ps *players) ServeHTTP(rw http.ResponseWriter, _ *http.Request) {
|
||||
rw.Header().Set("Content-Type", "application/json")
|
||||
pls := ps.current()
|
||||
encoder := json.NewEncoder(rw)
|
||||
|
Reference in New Issue
Block a user