mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: use jsdelivr cdn link to avoid github 429 when build docs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user