Switch to HTTPS with auto-generated self-signed certificate

This commit is contained in:
Ian Gulliver
2026-01-25 11:31:00 -08:00
parent 81796dbdb6
commit 2ab66520b6
3 changed files with 87 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ func main() {
debugBMD := flag.Bool("debug-bmd", false, "debug Blackmagic discovery")
debugShure := flag.Bool("debug-shure", false, "debug Shure discovery")
debugYamaha := flag.Bool("debug-yamaha", false, "debug Yamaha discovery")
httpPort := flag.String("http", ":80", "HTTP server port (empty to disable)")
enableHTTPS := flag.Bool("https", false, "enable HTTPS server on port 443")
flag.Parse()
t := tendrils.New()
@@ -59,6 +59,6 @@ func main() {
t.DebugBMD = *debugBMD
t.DebugShure = *debugShure
t.DebugYamaha = *debugYamaha
t.HTTPPort = *httpPort
t.EnableHTTPS = *enableHTTPS
t.Run()
}