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 authored and Simon Ser committed 2025-02-21 10:50:48 +01:00
1 parent 0ae1d1be40
commit 172968d292
2 files changed
+2 -2

No files matched your search

+1 -1
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, "caldavs", domain)
return internal.DiscoverContextURL(ctx, "caldav", domain)
}
// Client provides access to a remote CardDAV server.
+1 -1
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.