From 685e66e96b0fa2475dfbe76a46aab855f668470a Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Sat, 30 Mar 2024 08:10:16 +0000 Subject: [PATCH] Fix TestXrayConfig in xray_test.go --- infra/conf/xray_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/conf/xray_test.go b/infra/conf/xray_test.go index b4bb2f6d..03e27142 100644 --- a/infra/conf/xray_test.go +++ b/infra/conf/xray_test.go @@ -236,6 +236,7 @@ func TestXrayConfig(t *testing.T) { { ProtocolName: "websocket", Settings: serial.ToTypedMessage(&websocket.Config{ + Host: "example.domain", Header: map[string]string{ "host": "example.domain", }, @@ -288,6 +289,7 @@ func TestXrayConfig(t *testing.T) { { ProtocolName: "websocket", Settings: serial.ToTypedMessage(&websocket.Config{ + Host: "example.domain", Header: map[string]string{ "host": "example.domain", },