aboutsummaryrefslogtreecommitdiff
path: root/server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_test.go')
-rw-r--r--server_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_test.go b/server_test.go
index ee72cb0..39a5826 100644
--- a/server_test.go
+++ b/server_test.go
@@ -73,7 +73,7 @@ func TestReverseProxy(t *testing.T) {
t.Error(err)
}
- frontServer.Config.Handler = server.Handler
+ frontServer.Config.Handler = server.httpServer.Handler
resp, err := http.Get(frontServer.URL)
if err != nil {
@@ -101,7 +101,7 @@ func TestReverseProxy(t *testing.T) {
t.Error(err)
}
- frontServer.Config.Handler = server.Handler
+ frontServer.Config.Handler = server.httpServer.Handler
ws, err := websocket.Dial("ws://"+frontURL.Host, "", "http://localhost")
if err != nil {