mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-31 23:16:50 +00:00
fix: sitemap.xml.tsx
This commit is contained in:
@@ -7,6 +7,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
|
||||
if (req.method !== 'GET') {
|
||||
res.statusCode = 405
|
||||
res.write({ error: 'method not allowed' })
|
||||
res.end()
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user