feat: use simpler update_counter instead of timestamp for OTA updates

This commit is contained in:
2026-07-11 12:00:20 +08:00
parent 61e98cd6d5
commit 1f60c74ec2
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ router.get('/config', (req, res) => {
promotion: { name: cfg.promotion?.name || '', discount: cfg.promotion?.discount ?? 1 },
lua_versions: cfg.lua_versions || {},
force_update: cfg.force_update === true,
update_timestamp: cfg.update_timestamp || 0
update_counter: cfg.update_counter || 0
});
});