This commit is contained in:
Lncvrt committed 2026-04-03 12:53:41 -07:00
1 parent 4069648732
commit f9b0098375
1 file changed
+1 -9
+1 -9
View File
@@ -27,7 +27,7 @@ export const handler = async (context: Context) => {
if (versionsData.length != 1) return
const downloadData = JSON.parse(versionsData[0].downloadData)[
(target + '-' + arch)
target
.replace('windows', 'win')
.replace('darwin', 'macos')
.replace('x86_64', 'x64')
@@ -45,14 +45,6 @@ export const handler = async (context: Context) => {
if (fileInfo.length != 1) return
console.log({
version: versionsData[0].version,
notes: versionsData[0].notes,
pub_date: versionsData[0].releaseDate,
url: 'https://games-r2.lncvrt.xyz/' + fileInfo[0].path,
signature: downloadData.signature
})
connection.end()
return jsonResponse({
version: versionsData[0].version,