From 365e641b47dc56f5b37ca3293a5bd4842367a24c Mon Sep 17 00:00:00 2001 From: pseudoyu Date: Thu, 17 Apr 2025 11:49:24 +0800 Subject: [PATCH] chore(route/jandan): import ofetch from utils --- lib/routes/jandan/index.ts | 2 +- lib/routes/jandan/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/jandan/index.ts b/lib/routes/jandan/index.ts index 6fb2638719..217da9e60c 100644 --- a/lib/routes/jandan/index.ts +++ b/lib/routes/jandan/index.ts @@ -1,6 +1,6 @@ import { Route, DataItem } from '@/types'; import cache from '@/utils/cache'; -import { ofetch } from 'ofetch'; +import ofetch from '@/utils/ofetch'; import { load } from 'cheerio'; import parser from '@/utils/rss-parser'; diff --git a/lib/routes/jandan/utils.ts b/lib/routes/jandan/utils.ts index 7f5d911e25..ecdf9d3c39 100644 --- a/lib/routes/jandan/utils.ts +++ b/lib/routes/jandan/utils.ts @@ -1,5 +1,5 @@ import { DataItem } from '@/types'; -import { ofetch } from 'ofetch'; +import ofetch from '@/utils/ofetch'; import { load } from 'cheerio'; import { parseDate } from '@/utils/parse-date';