aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/main.go')
-rw-r--r--cmd/mbf/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index b2f2c0d6..471b595a 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -544,7 +544,9 @@ func main() {
if base, err := os.OpenRoot(cm.base); err != nil {
return err
} else {
- h = rosa.NewMirror(msg, base.FS(), key)
+ var mux http.ServeMux
+ rosa.NewMirror(msg, base.FS(), key).Register(&mux)
+ h = &mux
}
server := http.Server{Addr: args[0], Handler: h}