From 93028db7b59e35b4d50e58e97d533b765d584d44 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Fri, 9 Oct 2020 10:30:05 -0700 Subject: [PATCH] Fix botched merge. --- server/main/main.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/server/main/main.go b/server/main/main.go index d0672cb23..db2aebb07 100644 --- a/server/main/main.go +++ b/server/main/main.go @@ -22,21 +22,6 @@ import ( var wsServer *WSServer 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