/**
 * CalDAV client configuration utilities
 *
 * Provides centralized configuration for CalDAV server connections.
 * Used by CalendarContext to initialize CalDavService.
 */

import { getOrigin } from "@/features/api/utils";

export const caldavServerUrl = `${getOrigin()}/caldav/`;

export const headers = {
  "Content-Type": "application/xml",
};

export const fetchOptions = {
  credentials: "include" as RequestCredentials,
  headers: {
    "Content-Type": "application/xml",
  },
};