diff --git a/worker/src/index.js b/worker/src/index.js index d18fa7d..c2d209c 100644 --- a/worker/src/index.js +++ b/worker/src/index.js @@ -105,6 +105,9 @@ async function withAuth(request, env, ctx) { } async function newSnapshot(request, env, ctx) { + const kv = env.KV_STORE; + const bucket = env.R2_BUCKET; + const body = await request.formData(); const { date,