Always enable HTTPS, require config.yaml

This commit is contained in:
Ian Gulliver
2026-01-25 11:33:15 -08:00
parent 2ab66520b6
commit f9afd3abb6
6 changed files with 13 additions and 12 deletions

View File

@@ -60,7 +60,6 @@ type Tendrils struct {
DebugBMD bool
DebugShure bool
DebugYamaha bool
EnableHTTPS bool
}
func New() *Tendrils {
@@ -101,10 +100,9 @@ func (t *Tendrils) Run() {
cfg, err := LoadConfig(t.ConfigFile)
if err != nil {
log.Printf("[ERROR] failed to load config: %v", err)
} else {
t.config = cfg
log.Fatalf("[ERROR] failed to load config: %v", err)
}
t.config = cfg
t.populateLocalAddresses()
t.startHTTPServer()