diff --git a/infra/conf/transport_internet.go b/infra/conf/transport_internet.go index dd84a89a..4d2e92e4 100644 --- a/infra/conf/transport_internet.go +++ b/infra/conf/transport_internet.go @@ -642,7 +642,7 @@ func (c *REALITYConfig) Build() (proto.Message, error) { return nil, newError(`invalid "shortId": `, c.ShortId) } if c.SpiderX == "" { - return nil, newError(`empty "spiderX"`) + c.SpiderX = "/" } if c.SpiderX[0] != '/' { return nil, newError(`invalid "spiderX": `, c.SpiderX)