Cotton code
12 lines · 699 B · JSONRaw
{  // THE FAKE GOOGLE (src/fake_google): dev only, never live. The dev business Worker reaches it through its  // GOOGLE_BASE var (wrangler.jsonc env.dev). Deploy: npx wrangler deploy -c wrangler.fake-google.jsonc  // Its two secrets: FAKE_GOOGLE_CLIENTS (the invented OAuth client and its redirect) and FAKE_GOOGLE_ADMIN.  "$schema": "../../node_modules/wrangler/config-schema.json",  "name": "cotton-fake-google",  "main": "src/fake_google/worker.ts",  "compatibility_date": "2026-08-01",  "workers_dev": true,  "durable_objects": { "bindings": [{ "name": "FAKE_GOOGLE", "class_name": "FakeGoogleState" }] },  "migrations": [{ "tag": "v1", "new_sqlite_classes": ["FakeGoogleState"] }]}