Fix chi routing to CardDAV handler
We could probably just stick to net/http here...
This commit is contained in:
parent
97f86226d6
commit
5f8e94c4a1
@ -34,7 +34,7 @@ func main() {
|
|||||||
mux.Use(authProvider.Middleware())
|
mux.Use(authProvider.Middleware())
|
||||||
|
|
||||||
backend := storage.NewPostgreSQL()
|
backend := storage.NewPostgreSQL()
|
||||||
mux.Handle("/", &carddav.Handler{Backend: backend})
|
mux.Mount("/", &carddav.Handler{Backend: backend})
|
||||||
|
|
||||||
server := http.Server{
|
server := http.Server{
|
||||||
Addr: addr,
|
Addr: addr,
|
||||||
|
Loading…
Reference in New Issue
Block a user