feat: simplify OTA updates with timestamp
This commit is contained in:
@@ -229,7 +229,8 @@ router.get('/config', (req, res) => {
|
||||
res.json({
|
||||
promotion: { name: cfg.promotion?.name || '', discount: cfg.promotion?.discount ?? 1 },
|
||||
lua_versions: cfg.lua_versions || {},
|
||||
force_update: cfg.force_update === true
|
||||
force_update: cfg.force_update === true,
|
||||
update_timestamp: cfg.update_timestamp || 0
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user