mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Fix creating server (#1894)
This commit is contained in:
parent
ded9ab53e5
commit
751e42c705
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ func (s *Server) Run(addr string) error {
|
|||
server := &http.Server{
|
||||
Addr: addr,
|
||||
ReadHeaderTimeout: consts.ServerReadHeaderTimeout,
|
||||
Handler: s.router,
|
||||
}
|
||||
|
||||
return server.ListenAndServe()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue