We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b47cf commit aa187a0Copy full SHA for aa187a0
pages/feed.xml.tsx
@@ -74,7 +74,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
74
'Cache-Control',
75
`public, max-age=${ttlSeconds}, stale-while-revalidate=${ttlSeconds}`
76
)
77
- res.setHeader('Content-Type', 'text/xml')
+ res.setHeader('Content-Type', 'text/xml; charset=utf-8')
78
res.write(feedText)
79
res.end()
80
0 commit comments