From b4ba0af3485561358f1aa719557c01d135ef5cde Mon Sep 17 00:00:00 2001 From: Leilukin Date: Mon, 5 May 2025 23:24:57 +0800 Subject: [PATCH] Update robots.txt source URI --- src/_data/robots.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_data/robots.js b/src/_data/robots.js index da695e77..aad0565f 100644 --- a/src/_data/robots.js +++ b/src/_data/robots.js @@ -6,7 +6,7 @@ import EleventyFetch from "@11ty/eleventy-fetch"; export default async function () { - const url = "https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/main/robots.txt"; + const url = "https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/refs/heads/main/robots.txt"; let txt = await EleventyFetch(url, { duration: "1w", type: "text", @@ -29,4 +29,4 @@ export default async function () { txt: txt, htaccess: bots.join('|'), }; -} \ No newline at end of file +}