Fix chi routing to CardDAV handler

We could probably just stick to net/http here...
This commit is contained in:
Simon Ser 2022-02-21 11:47:58 +01:00
parent 97f86226d6
commit 5f8e94c4a1

View File

@ -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,