feat: use custom domain for sitemap

This commit is contained in:
DIYgod
2023-05-18 17:41:56 +01:00
parent 6488cd867d
commit 69022e3d5f
+1
View File
@@ -43,6 +43,7 @@ export const GET = async (req: NextRequest) => {
const link = getSiteLink({
subdomain: site?.handle || "",
domain: site?.metadata?.content?.custom_domain,
})
return response.headers({
"Content-Type": "text/xml",