Skip to content

Commit

Permalink
Fix naming and make redirection failure in tunnel non-fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Sep 13, 2023
1 parent e2560d9 commit 91261c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webserver/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func Start(errChan chan<- error) error {
Handler: setSecurityHeaders(setRedirectHandler(port)),
}

errChan <- fmt.Errorf("Redirect to TLS webserver public listener failed: %v", srv.ListenAndServe())
log.Printf("HTTP redirect to TLS webserver tunnel listener failed: %v", srv.ListenAndServe())
}()
}
} else {
Expand Down

0 comments on commit 91261c4

Please sign in to comment.