mirror of
https://git.sr.ht/~sircmpwn/tokidoki
synced 2025-12-12 14:17:21 +01:00
Fix chi routing to CardDAV handler
We could probably just stick to net/http here...
This commit is contained in:
parent
97f86226d6
commit
5f8e94c4a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue