mirror of
https://github.com/labstack/echo.git
synced 2025-01-26 03:20:08 +02:00
parent
2bdbf6918e
commit
0eb7c42aa1
4
echo.go
4
echo.go
@ -526,10 +526,6 @@ func (e *Echo) config(gs *graceful.Server, s *http.Server, address string) {
|
||||
if gs == e.gracefulTLS && !e.DisableHTTP2 {
|
||||
e.TLSConfig.NextProtos = append(e.TLSConfig.NextProtos, "h2")
|
||||
}
|
||||
// Global log
|
||||
slog.SetOutput(e.Logger.Output())
|
||||
slog.SetPrefix(e.Logger.Prefix() + ": ")
|
||||
slog.SetFlags(0)
|
||||
}
|
||||
|
||||
// Start starts the HTTP server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user