Remove unnecessary println

This commit is contained in:
Jannis Mattheis 2018-03-30 19:02:52 +02:00 committed by Jannis Mattheis
parent 00d506ba7c
commit 44b46dac55
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@ func Run(engine *gin.Engine, conf *config.Configuration) {
var httpHandler http.Handler = engine var httpHandler http.Handler = engine
if *conf.Server.SSL.Enabled { if *conf.Server.SSL.Enabled {
fmt.Println(*conf.Server.SSL.RedirectToHTTPS)
if *conf.Server.SSL.RedirectToHTTPS { if *conf.Server.SSL.RedirectToHTTPS {
httpHandler = redirectToHTTPS(string(conf.Server.SSL.Port)) httpHandler = redirectToHTTPS(string(conf.Server.SSL.Port))
} }