Skip to content

lib/dynamic-sitemap/sitemap-index.xml

function GET(context: APIContext<Record<string, any>, Record<string, undefined | string>>): Response | Promise<Response>

Defined in: studiocms/packages/studiocms/src/lib/dynamic-sitemap/sitemap-index.xml.ts:32

Handles the GET request for generating a dynamic sitemap index.

APIContext<Record<string, any>, Record<string, undefined | string>>

The API context containing the request information.

Response | Promise<Response>

A Response object containing the generated sitemap index in XML format.