Fix botched merge.

This commit is contained in:
Chen-I Lim 2020-10-09 10:30:05 -07:00
parent a344165b68
commit 93028db7b5

View file

@ -22,21 +22,6 @@ import (
var wsServer *WSServer var wsServer *WSServer
var config *Configuration var config *Configuration
// WebsocketMsg is send on block changes
type WebsocketMsg struct {
Action string `json:"action"`
BlockID string `json:"blockId"`
}
// A single session for now
var session = new(ListenerSession)
var upgrader = websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool {
return true
},
}
// ---------------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------------------
// HTTP handlers // HTTP handlers