mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-24 17:04:42 +01:00
Fix typo
This commit is contained in:
parent
bc42497cb7
commit
1e0d9e184c
@ -69,7 +69,7 @@ func CreateRouter(cfg *config.Config) *mux.Router {
|
||||
|
||||
func secureIfNecessary(cfg *config.Config, handler http.HandlerFunc) http.HandlerFunc {
|
||||
if cfg.Security != nil && cfg.Security.IsValid() {
|
||||
return security.Handler(serviceStatusesHandler, cfg.Security)
|
||||
return security.Handler(handler, cfg.Security)
|
||||
}
|
||||
return handler
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user