add optional webui behind a build tag

This commit is contained in:
Joel Wetzell
2026-05-23 11:25:25 -05:00
parent a1f7bca743
commit 0296afc2a3
4 changed files with 88 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build !showbridge_webui
package api
import (
"net/http"
)
func handleWebUI(w http.ResponseWriter, req *http.Request) {
http.Error(w, "Web UI is not enabled", http.StatusNotImplemented)
}