mirror of https://github.com/0xERR0R/blocky.git
fix(server): typo causing HTTPS router to be used for HTTP server
This commit is contained in:
parent
c56f0f91ca
commit
7d510d009b
|
@ -501,7 +501,7 @@ func (s *Server) Start(ctx context.Context, errCh chan<- error) {
|
|||
ReadTimeout: readTimeout,
|
||||
ReadHeaderTimeout: readHeaderTimeout,
|
||||
WriteTimeout: writeTimeout,
|
||||
Handler: s.httpsMux,
|
||||
Handler: s.httpMux,
|
||||
}
|
||||
|
||||
if err := srv.Serve(listener); err != nil {
|
||||
|
|
Loading…
Reference in New Issue