Merge pull request #274 from zhixuan2333/sitemap-support-custom-domain

This commit is contained in:
DIYgod
2023-03-31 16:50:53 +01:00
committed by GitHub
+1
View File
@@ -25,6 +25,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
)
const link = getSiteLink({
domain: site.custom_domain,
subdomain: site.username || "",
})
ctx.res.write(`<?xml version="1.0" encoding="UTF-8"?>