unbrivate, dot com in (#2475)
This PR moves the tldraw.com app into the public repo. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2] --------- Co-authored-by: Dan Groshev <git@dgroshev.com> Co-authored-by: alex <alex@dytry.ch>
This commit is contained in:
parent
b7fb31f8f9
commit
d7002057d7
248 changed files with 20084 additions and 245 deletions
10
apps/dotcom-worker/scripts/cron.ts
Normal file
10
apps/dotcom-worker/scripts/cron.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
const CRON_INTERVAL_MS = 10_000
|
||||
|
||||
setInterval(async () => {
|
||||
try {
|
||||
await fetch('http://127.0.0.1:8787/__scheduled')
|
||||
} catch (err) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Error triggering cron:', err)
|
||||
}
|
||||
}, CRON_INTERVAL_MS)
|
Loading…
Add table
Add a link
Reference in a new issue