Revert "Fix cron job connection to daily board backup"

This reverts commit 7221f94ca6.
This commit is contained in:
Shawn Anderson 2025-04-16 13:05:51 -07:00
parent 2ce19aa4cb
commit e2135f65c5
1 changed files with 2 additions and 9 deletions

View File

@ -380,12 +380,5 @@ router
}) })
}) })
// Add this before the router definition // export our router for cloudflare
export default { export default router
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);
}
};