fix(server): typo causing HTTPS router to be used for HTTP server

This commit is contained in:
ThinkChaos 2024-04-02 20:19:20 -04:00
parent c56f0f91ca
commit 7d510d009b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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