fix: sitemap.xml.tsx

This commit is contained in:
JaeSeoKim
2021-10-17 01:11:30 +09:00
committed by GitHub
parent d1e495e000
commit 37411d7330

View File

@@ -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: {}
}