add worker service binding + inactivity detection

This commit is contained in:
Ishaan Dey
2024-05-06 21:29:25 -07:00
parent c5762d430c
commit 84c49f0d9d
8 changed files with 99 additions and 21 deletions

View File

@ -8,6 +8,7 @@ export async function createSandbox(body: {
userId: string
visibility: string
}) {
console.log("creating. body:", body)
const res = await fetch(
"https://database.ishaan1013.workers.dev/api/sandbox",
{