Remove unnecessary println
This commit is contained in:
parent
00d506ba7c
commit
44b46dac55
|
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue