fix: gateway conf doesn't work (#2968)

This commit is contained in:
Kevin Wan
2023-03-05 22:19:58 +08:00
committed by GitHub
parent d9d79e930d
commit 0d5a68869d
3 changed files with 1 additions and 4 deletions

View File

@@ -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)