From 651157e58a20ce2c0a8c5a585efbef11857aa84f Mon Sep 17 00:00:00 2001 From: QIU SHENGMING Date: Tue, 26 Aug 2025 00:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Disallow:=20/archive/?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E6=9C=BA=E5=99=A8=E4=BA=BA=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=88=B0=E8=BF=87=E5=A4=9A=E6=97=A0=E7=94=A8=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/robots.txt.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index cf9107f..ff07a31 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -3,6 +3,7 @@ import type { APIRoute } from "astro"; const robotsTxt = ` User-agent: * Disallow: /_astro/ +Disallow: /archive/ Sitemap: ${new URL("sitemap-index.xml", import.meta.env.SITE).href} `.trim();