mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
Fix TestXrayConfig in xray_test.go
This commit is contained in:
parent
7e3a8d3a04
commit
685e66e96b
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue