Remove socket.io test page from http interface

indexv1
Martin Boehm 2018-02-26 16:22:43 +01:00
parent 16fc1b4797
commit d662fa4197
1 changed files with 0 additions and 3 deletions

View File

@ -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