From f24a366ed2d79d23e160f6eb89865f907556880c Mon Sep 17 00:00:00 2001 From: Kegongteng Date: Sat, 29 Mar 2025 21:11:23 +0800 Subject: [PATCH] Update route.ts --- app/random-410/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/random-410/route.ts b/app/random-410/route.ts index 937040a..9d6a7ed 100644 --- a/app/random-410/route.ts +++ b/app/random-410/route.ts @@ -2,7 +2,7 @@ import { type NextRequest, NextResponse } from "next/server" export async function GET(request: NextRequest) { // 生成1到50之间的随机ID - const randomId = Math.floor(Math.random() * 50) + 1 + const randomId = Math.floor(Math.random() * 60) + 1 // 构建随机图片URL const randomImageUrl = `https://zh.yuazhi.cn/at410/random/${randomId}.jpg`