Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Update cmd.go

aapanel.comcf0b681bc6bc
diff --git a/core/internal/cmd/cmd.go b/core/internal/cmd/cmd.go
index d333448e..7aefc526 100644
--- a/core/internal/cmd/cmd.go
+++ b/core/internal/cmd/cmd.go
@@ -187,10 +187,10 @@ var (
// Enable HTTPS
s.EnableHTTPS(public.AbsPath(filepath.Join(consts.SSL_PATH, "cert.pem")), public.AbsPath(filepath.Join(consts.SSL_PATH, "key.pem")))
- //s.SetHTTPSPort(g.Cfg().MustGet(ctx, "server.httpsPort", 443).Int())
+ s.SetHTTPSPort(g.Cfg().MustGet(ctx, "server.httpsPort", 443).Int())
- s.SetHTTPSPort(82)
- s.SetPort(81)
+ // s.SetHTTPSPort(82)
+ // s.SetPort(81)
s.Run()