diff --git a/server/utils/rss2json.ts b/server/utils/rss2json.ts index bdb254f..32a2bff 100644 --- a/server/utils/rss2json.ts +++ b/server/utils/rss2json.ts @@ -1,6 +1,6 @@ -import type { RSSInfo } from "@shared/types" import { XMLParser } from "fast-xml-parser" import { $fetch } from "ofetch" +import type { RSSInfo } from "../types" export async function rss2json(url: string): Promise { if (!/^https?:\/\/[^\s$.?#].\S*/i.test(url)) return