fix page api url; fix url encode; fix memory > int32 change it to big int
This commit is contained in:
@@ -46,7 +46,7 @@ async function handleVersionUpload(req: NextRequest) {
|
||||
|
||||
const protocol = req.headers.get('x-forwarded-proto') || 'http'
|
||||
const host = req.headers.get('host')
|
||||
const downloadUrl = `${protocol}://${host}/api/downloads/${storedFile.id}`
|
||||
const downloadUrl = `${protocol}://${host}/downloads/${storedFile.id}`
|
||||
|
||||
return NextResponse.json({
|
||||
version,
|
||||
|
||||
Reference in New Issue
Block a user