From e1beb5b53445353edce10b753f4daf8400933eef Mon Sep 17 00:00:00 2001 From: imsyy Date: Tue, 11 Jun 2024 09:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20hell?= =?UTF-8?q?ogithub=20#60?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/hellogithub.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/hellogithub.ts b/src/routes/hellogithub.ts index 676885c..3da17bc 100644 --- a/src/routes/hellogithub.ts +++ b/src/routes/hellogithub.ts @@ -4,7 +4,7 @@ import { get } from "../utils/getData.js"; import getTime from "../utils/getTime.js"; export const handleRoute = async (c: ListContext, noCache: boolean) => { - const sort = c.req.query("sort") || "hot"; + const sort = c.req.query("sort") || "featured"; const { fromCache, data, updateTime } = await getList({ sort }, noCache); const routeData: RouterData = { name: "hellogithub", @@ -15,8 +15,8 @@ export const handleRoute = async (c: ListContext, noCache: boolean) => { sort: { name: "排行榜分区", type: { - hot: "热门", - last: "最新", + featured: "精选", + all: "全部", }, }, },