fix page api url; fix url encode; fix memory > int32 change it to big int

This commit is contained in:
root
2025-06-28 19:03:08 +08:00
parent ff89a81775
commit a1265e5155
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ async function handleGetVersion(req: NextRequest) {
const protocol = req.headers.get('x-forwarded-proto') || 'http'
const host = req.headers.get('host')
const downloadUrl = `${protocol}://${host}/api/downloads/${latestVersion.fileId}`
const downloadUrl = `${protocol}://${host}/downloads/${latestVersion.fileId}`
return NextResponse.json({
version: latestVersion.version,