mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-04 06:44:33 +01:00
Remove socket.io test page from http interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user