fix: set yandexstation as a fallback platform

the factory build of the first-gen yandex station doesn't send the
platform parameter lol
This commit is contained in:
Damir Modyarov
2026-10-23 16:30:00 +03:00
Unverified
parent 290816c472
commit 17354b153a
+2 -2
View File
@@ -47,10 +47,10 @@ app.get(
app.get(
"/check_updates",
(c) => {
const platform = c.req.query("platform")
const platform = c.req.query("platform") ?? "yandexstation"
const version = c.req.query("version")
if (platform && version) {
if (version) {
const update = getAvailableUpdateFor(platform, version)
if (update)
return c.json(update)