From d662fa4197ce40a925cfffd2f6528f61d37fea37 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Mon, 26 Feb 2018 16:22:43 +0100 Subject: [PATCH] Remove socket.io test page from http interface --- server/https.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/https.go b/server/https.go index 90d43510..4c2e34e1 100644 --- a/server/https.go +++ b/server/https.go @@ -44,9 +44,6 @@ func NewHTTPServer(httpServerBinding string, certFiles string, db *db.RocksDB, m r.HandleFunc("/confirmedTransactions/{address}/{lower}/{higher}", s.confirmedTransactions) r.HandleFunc("/unconfirmedTransactions/{address}", s.unconfirmedTransactions) - // support for testing of socket.io interface - r.PathPrefix("/socket.io/").Handler(http.StripPrefix("/socket.io/", http.FileServer(http.Dir("./server/static/")))) - var h http.Handler = r h = handlers.LoggingHandler(os.Stderr, h) https.Handler = h