优化细节✅

This commit is contained in:
Han
2025-06-06 11:02:14 +08:00
parent 2aa978451d
commit a515ecae39
5 changed files with 30 additions and 10 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
import type { APIRoute } from 'astro';
const getRobotsTxt = (sitemapURL: URL) => `User-agent: *
Disallow: /MineWeb/
Disallow: /assets/
Disallow: /*?*
Allow: /
Sitemap: ${sitemapURL.href}`;