fix: gateway conf doesn't work (#2968)
This commit is contained in:
@@ -38,7 +38,6 @@ func MustNewServer(c GatewayConf, opts ...Option) *Server {
|
||||
svr := &Server{
|
||||
Server: rest.MustNewServer(c.RestConf),
|
||||
upstreams: c.Upstreams,
|
||||
timeout: c.Timeout,
|
||||
}
|
||||
for _, opt := range opts {
|
||||
opt(svr)
|
||||
|
||||
Reference in New Issue
Block a user