Revert "Fix cron job connection to daily board backup"

This reverts commit e936d1c597.
This commit is contained in:
Shawn Anderson 2025-04-16 13:05:51 -07:00
parent 04705665f5
commit 6dd387613b
1 changed files with 2 additions and 9 deletions

View File

@ -380,12 +380,5 @@ router
})
})
// Add this before the router definition
export default {
fetch: router.handle,
scheduled: async (_event: ScheduledEvent, env: Environment, _ctx: ExecutionContext) => {
console.log('Running scheduled backup...');
const result = await backupAllBoards(env);
console.log('Backup result:', result);
}
};
// export our router for cloudflare
export default router