Fix iOS and Android manifest

This commit is contained in:
Lncvrt committed 2026-02-16 21:28:03 -07:00
1 parent 87bc958f29
commit 14d6b88467
1 file changed
+9 -1
+9 -1
View File
@@ -165,5 +165,13 @@ export const handler = async (context: Context) => {
connection.end()
return jsonResponse({ versions, games: gamesList })
return jsonResponse({
versions,
games:
platString === 'android' || platString === 'ios'
? versions.filter(
(v, i, arr) => arr.findIndex(other => other.game === v.game) === i
)
: versions
})
}