summaryrefslogtreecommitdiff
path: root/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive-hub/s5hub.go')
-rw-r--r--src/hub/src/spreadspace.org/sfive-hub/s5hub.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hub/src/spreadspace.org/sfive-hub/s5hub.go b/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
index c1802eb..bb5e80f 100644
--- a/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
+++ b/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
@@ -23,5 +23,11 @@ func main() {
server.ServePipe("/run/sfive/pipe")
}()
+ wg.Add(1)
+ go func() {
+ defer wg.Done()
+ server.ServeWeb()
+ }()
+
wg.Wait()
}