diff --git a/caldav/client.go b/caldav/client.go index e19e84c..108ff87 100644 --- a/caldav/client.go +++ b/caldav/client.go @@ -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. diff --git a/carddav/client.go b/carddav/client.go index aa6dfce..d290434 100644 --- a/carddav/client.go +++ b/carddav/client.go @@ -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.