Update robots.txt source URI

This commit is contained in:
Leilukin 2025-05-05 23:24:57 +08:00
parent c9cd85b484
commit b4ba0af348

View File

@ -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",