add https support

This commit is contained in:
2025-12-08 19:52:27 -05:00
parent 8dca9ab5da
commit 120d044648
3 changed files with 20 additions and 4 deletions

View File

@@ -19,7 +19,8 @@ import (
var core embed.FS
func init() {
config.Port = flag.Int("p", 3000, "Set the server port")
config.Port = flag.Int("p", 3000, "Set the server port for http")
config.HTTPSPort = flag.Int("ps", 3000, "Set the server port for https")
config.Color = flag.Bool("no-color", false, "Disable color output")
config.Core = core
}