feat: use custom domain for sitemap
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user