diff --git a/src/routes/github.ts b/src/routes/github.ts index 32fe496..1e78600 100644 --- a/src/routes/github.ts +++ b/src/routes/github.ts @@ -2,8 +2,8 @@ import fetch from "node-fetch"; import * as cheerio from "cheerio"; import { ListContext } from "../types"; -import logger from "../utils/logger"; -import { getCache, setCache } from "../utils/cache"; +import logger from "../utils/logger.js"; +import { getCache, setCache } from "../utils/cache.js"; /** * 定义 Trending 仓库信息的类型