Fix TestXrayConfig in xray_test.go

This commit is contained in:
RPRX 2024-03-30 08:10:16 +00:00 committed by GitHub
parent 7e3a8d3a04
commit 685e66e96b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",
},