Merged in fix/sitemap-route (pull request #1801)
Fix: sitemap - now the route works * Fix: sitemap - now the route works Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -17,6 +17,9 @@ export async function GET(
|
||||
}
|
||||
|
||||
const sitemapId = context.params.sitemapId
|
||||
|
||||
console.log("[SITEMAP] Fetching sitemap by ID", sitemapId)
|
||||
|
||||
if (!sitemapId) {
|
||||
notFound()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user