fix: allow

This commit is contained in:
TrèsAbhi authored and GitHub committed 2025-04-06 22:04:01 -05:00
1 parent 75cf827082
commit 4253cd3e1b
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ export async function GET({ request }: APIContext) {
const allowRobots = assertSecret(import.meta.env.ALLOW_ROBOTS) === 'true';
const flags: Record<string, string | null> = {
'User-agent': '*',
[allowRobots ? 'Allow' : 'Disallow']: '/',
Allow: '/',
space: null,
Sitemap: `${new URL(request.url).origin}/sitemap-index.xml`,