chore: use jsdelivr cdn link to avoid github 429 when build docs

This commit is contained in:
Tony
2025-05-09 02:16:10 +08:00
parent 330499134f
commit 81ee26fff2
2 changed files with 1 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import path from 'node:path';
import { categories } from './data';
import { getCurrentPath } from '../../lib/utils/helpers';
const fullTests = await (await fetch('https://raw.githubusercontent.com/DIYgod/RSSHub/gh-pages/build/test-full-routes.json')).json();
const fullTests = await (await fetch('https://cdn.jsdelivr.net/gh/DIYgod/RSSHub@gh-pages/build/test-full-routes.json')).json();
const testResult = fullTests.testResults[0].assertionResults;
const __dirname = getCurrentPath(import.meta.url);