Skip to content

Commit 81ee26f

Browse files
committed
chore: use jsdelivr cdn link to avoid github 429 when build docs
1 parent 3304991 commit 81ee26f

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

lib/routes/rsshub/referer-map.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

scripts/workflow/build-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from 'node:path';
44
import { categories } from './data';
55
import { getCurrentPath } from '../../lib/utils/helpers';
66

7-
const fullTests = await (await fetch('https://raw.githubusercontent.com/DIYgod/RSSHub/gh-pages/build/test-full-routes.json')).json();
7+
const fullTests = await (await fetch('https://cdn.jsdelivr.net/gh/DIYgod/RSSHub@gh-pages/build/test-full-routes.json')).json();
88
const testResult = fullTests.testResults[0].assertionResults;
99

1010
const __dirname = getCurrentPath(import.meta.url);

0 commit comments

Comments
 (0)