mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-07-17 04:15:15 +02:00
feat(cron): detect and save location of last check
This commit is contained in:
@ -11,7 +11,7 @@ export async function getMonitorsHistory() {
|
||||
}
|
||||
|
||||
export async function getLastUpdate() {
|
||||
return await getKV('lastUpdate')
|
||||
return await getKVWithMetadata('lastUpdate')
|
||||
}
|
||||
|
||||
export async function listKV(prefix = '', cacheTtl = false) {
|
||||
|
Reference in New Issue
Block a user