mirror of
https://github.com/immich-app/static-pages.git
synced 2026-09-30 21:27:54 +08:00
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Zack Pollard <zackpollard@Zacks-MBP.local>
31 lines
812 B
JSON
31 lines
812 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "survey-api",
|
|
"main": "src/index.ts",
|
|
"compatibility_date": "2025-06-03",
|
|
"observability": {
|
|
"enabled": true
|
|
},
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "survey",
|
|
"database_id": "local"
|
|
}
|
|
],
|
|
"durable_objects": {
|
|
"bindings": [
|
|
{
|
|
"name": "SURVEY_SESSIONS",
|
|
"class_name": "SurveyDO",
|
|
"script_name": "survey-sessions"
|
|
}
|
|
]
|
|
}
|
|
// NOTE: Production `vars` are supplied via Terraform (see
|
|
// deployment/modules/cloudflare/workers/survey/worker.tf) and/or
|
|
// `wrangler secret put`. Keep this file free of `vars` so a local
|
|
// `wrangler deploy` never accidentally pushes dev credentials to
|
|
// prod. For local dev, use `wrangler-dev.jsonc`.
|
|
}
|