feat: support open RSS links in Safari (#6509)

This commit is contained in:
Henry Wang
2020-12-23 15:57:03 +00:00
committed by GitHub
parent af309bb07e
commit 1f34bce335

View File

@@ -5,6 +5,7 @@ const headers = {
'Access-Control-Allow-Methods': 'GET',
'Content-Type': 'application/xml; charset=utf-8',
'Cache-Control': `public, max-age=${config.cache.routeExpire}`,
'X-Content-Type-Options': 'nosniff',
};
if (config.nodeName) {
headers['RSSHub-Node'] = config.nodeName;