Update route.ts

This commit is contained in:
He
2025-03-29 21:11:23 +08:00
parent ef503ac0ee
commit f24a366ed2

View File

@@ -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`