fix page api url; fix url encode; fix memory > int32 change it to big int
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user