Skip to content

Commit 304569b

Browse files
typo ..
Signed-off-by: eternal-flame-AD <[email protected]>
1 parent d2a07e4 commit 304569b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func Run(router http.Handler, conf *config.Configuration) error {
3232
if conf.Server.SSL.Enabled {
3333
if conf.Server.SSL.LetsEncrypt.Enabled {
3434
applyLetsEncrypt(s, conf)
35-
} else if conf.Server.SSL.CertFile != "" && conf.Server.SSL.CertKey != "" {
35+
} else if conf.Server.SSL.CertFile == "" && conf.Server.SSL.CertKey == "" {
3636
log.Fatalln("CertFile and CertKey must be set to use HTTPS when LetsEncrypt is disabled, please set GOTIFY_SERVER_SSL_CERTFILE and GOTIFY_SERVER_SSL_CERTKEY")
3737
}
3838

0 commit comments

Comments
 (0)