diff --git a/cmd/tokidoki/main.go b/cmd/tokidoki/main.go index bdadce5..9574bbc 100644 --- a/cmd/tokidoki/main.go +++ b/cmd/tokidoki/main.go @@ -34,7 +34,7 @@ func main() { mux.Use(authProvider.Middleware()) backend := storage.NewPostgreSQL() - mux.Handle("/", &carddav.Handler{Backend: backend}) + mux.Mount("/", &carddav.Handler{Backend: backend}) server := http.Server{ Addr: addr,