- Replaced global navbar, now mobile friendly
- Corrected sizing of LyricSearchInputField - Removed sitemap from auto-generated robots.txt
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
const getRobotsTxt = (sitemapURL) => `
|
||||
const getRobotsTxt = () => `
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: ${sitemapURL.href}
|
||||
`;
|
||||
|
||||
export const GET = ({ site }) => {
|
||||
const sitemapURL = new URL("sitemap-index.xml", site);
|
||||
return new Response(getRobotsTxt(sitemapURL));
|
||||
export const GET = () => {
|
||||
return new Response(getRobotsTxt());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user