release 0.3.4
This commit is contained in:
11
apps/web/app/server-sitemap-index.xml/route.ts
Normal file
11
apps/web/app/server-sitemap-index.xml/route.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { getServerSideSitemapIndex } from "next-sitemap";
|
||||
|
||||
export async function GET(request: Request) {
|
||||
// Method to source urls from cms
|
||||
// const urls = await fetch('https//example.com/api')
|
||||
|
||||
return getServerSideSitemapIndex([
|
||||
"https://inke.app/publish.xml",
|
||||
"https://inke.app/pricing.xml",
|
||||
]);
|
||||
}
|
Reference in New Issue
Block a user