Fix service name for CalDav/CardDav endpoint discovery

This change set fixes the service names used by the endpoint discovery
for CalDav and CardDav.
This commit is contained in:
Timo Furrer
2025-02-20 21:06:44 +01:00
committed by Simon Ser
parent 0ae1d1be40
commit 172968d292
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ import (
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
// described in RFC 6352 section 11. It returns the URL to the CardDAV server.
func DiscoverContextURL(ctx context.Context, domain string) (string, error) {
return internal.DiscoverContextURL(ctx, "carddavs", domain)
return internal.DiscoverContextURL(ctx, "carddav", domain)
}
// Client provides access to a remote CardDAV server.