diff --git a/apps/scandic-web/app/api/sitemap/route.ts b/apps/scandic-web/app/api/web/sitemap/route.ts similarity index 100% rename from apps/scandic-web/app/api/sitemap/route.ts rename to apps/scandic-web/app/api/web/sitemap/route.ts diff --git a/apps/scandic-web/app/api/sitemap/sync.ts b/apps/scandic-web/app/api/web/sitemap/sync.ts similarity index 100% rename from apps/scandic-web/app/api/sitemap/sync.ts rename to apps/scandic-web/app/api/web/sitemap/sync.ts diff --git a/apps/scandic-web/app/api/sitemap/telemetry.ts b/apps/scandic-web/app/api/web/sitemap/telemetry.ts similarity index 100% rename from apps/scandic-web/app/api/sitemap/telemetry.ts rename to apps/scandic-web/app/api/web/sitemap/telemetry.ts diff --git a/apps/scandic-web/app/api/sitemap/utils.ts b/apps/scandic-web/app/api/web/sitemap/utils.ts similarity index 100% rename from apps/scandic-web/app/api/sitemap/utils.ts rename to apps/scandic-web/app/api/web/sitemap/utils.ts diff --git a/apps/scandic-web/netlify/functions/sitemap-manual.mts b/apps/scandic-web/netlify/functions/sitemap-manual.mts index 2b2132c65..a6f1ac88f 100644 --- a/apps/scandic-web/netlify/functions/sitemap-manual.mts +++ b/apps/scandic-web/netlify/functions/sitemap-manual.mts @@ -10,7 +10,7 @@ export default async (request: Request, _context: Context) => { try { const url = new URL( - "/api/sitemap", + "/api/web/sitemap", PUBLIC_URL || "https://www.scandichotels.com" ) const response = await fetch(url, { diff --git a/apps/scandic-web/netlify/functions/sitemap.mts b/apps/scandic-web/netlify/functions/sitemap.mts index 05403b21f..4dafdfb7e 100644 --- a/apps/scandic-web/netlify/functions/sitemap.mts +++ b/apps/scandic-web/netlify/functions/sitemap.mts @@ -13,7 +13,7 @@ export default async (request: Request, _context: Context) => { try { const url = new URL( - "/api/sitemap", + "/api/web/sitemap", PUBLIC_URL || "https://www.scandichotels.com" ) const response = await fetch(url, {