summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-09 18:02:06 -0500
committerJeff Carr <[email protected]>2025-09-09 18:02:06 -0500
commitaf7984a887cc583fe46edcc3e00fd71e6da0e627 (patch)
tree289cd43431a4a0a2115c251a4dc487d5923d80c0 /main.go
parenta29a774aa43ca332cac6ca3da7242eb31a9bfcf0 (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 41525c3..8362933 100644
--- a/main.go
+++ b/main.go
@@ -9,6 +9,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/protobuf/httppb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -43,7 +44,7 @@ func main() {
go NewWatchdog()
if !argv.NoPort {
- go startHTTP()
+ go httppb.StartHTTP(okHandler, argv.Port)
}
me.myGui.Start() // loads the GUI toolkit