diff --git a/server/routes/[...id].get.ts b/server/routes/[id].ts similarity index 81% rename from server/routes/[...id].get.ts rename to server/routes/[id].ts index 5afdec9..d811990 100644 --- a/server/routes/[...id].get.ts +++ b/server/routes/[id].ts @@ -4,5 +4,5 @@ export default defineEventHandler(async (event) => { const id = getRouterParam(event, "id") const { latest } = getQuery(event) if (latest !== undefined) return await sendProxy(event, `https://smzdk.top/api/${id}/new`) - return await sendProxy(event, `https://smzdk.top/api/${id}/new`) + return await sendProxy(event, `https://smzdk.top/api/${id}`) })