Add android and ios to be listed (no arch specific stuff yet)
This commit is contained in:
@@ -31,7 +31,9 @@ export async function handler(context: Context, db: MySql2Database) {
|
|||||||
else {
|
else {
|
||||||
return jsonResponse({ message: "Unsupported architecture for macOS", versions: null, games: null }, 400)
|
return jsonResponse({ message: "Unsupported architecture for macOS", versions: null, games: null }, 400)
|
||||||
}
|
}
|
||||||
} else {
|
} else if (platform == "android") platString = "android"
|
||||||
|
else if (platform == "ios") platString = "ios"
|
||||||
|
else {
|
||||||
return jsonResponse({ message: "Unsupported platform", versions: null, games: null }, 400)
|
return jsonResponse({ message: "Unsupported platform", versions: null, games: null }, 400)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user