mirror of
https://github.com/niusmallnan/steve.git
synced 2026-02-21 07:32:26 +00:00
Bump dynamic listener to v0.3.5
Bumps dynamic listener to v0.3.5. Adds a small arg change to account for this version bump which addresses an issue caused by the new version
This commit is contained in:
@@ -200,6 +200,9 @@ func (c *Server) ListenAndServe(ctx context.Context, httpsPort, httpPort int, op
|
||||
|
||||
c.StartAggregation(ctx)
|
||||
|
||||
if len(opts.TLSListenerConfig.SANs) == 0 {
|
||||
opts.TLSListenerConfig.SANs = []string{"127.0.0.1"}
|
||||
}
|
||||
if err := server.ListenAndServe(ctx, httpsPort, httpPort, c, opts); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user