mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-18 15:10:17 +00:00
🎺
This commit is contained in:
@@ -74,7 +74,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
|
||||
'Cache-Control',
|
||||
`public, max-age=${ttlSeconds}, stale-while-revalidate=${ttlSeconds}`
|
||||
)
|
||||
res.setHeader('Content-Type', 'text/xml')
|
||||
res.setHeader('Content-Type', 'text/xml; charset=utf-8')
|
||||
res.write(feedText)
|
||||
res.end()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user