Files
api-worker/apps/worker/wrangler.toml
T
2026-02-25 19:12:00 +08:00

31 lines
577 B
TOML

name = "api-worker"
main = "src/index.ts"
compatibility_date = "2026-02-14"
[vars]
CORS_ORIGIN = "http://localhost:5173"
PROXY_RETRY_ROUNDS = "2"
PROXY_RETRY_DELAY_MS = "200"
[[d1_databases]]
binding = "DB"
database_name = "api-worker"
database_id = "00000000-0000-0000-0000-000000000000"
[assets]
directory = "../ui/dist"
binding = "ASSETS"
not_found_handling = "single-page-application"
run_worker_first = true
[[durable_objects.bindings]]
name = "CHECKIN_SCHEDULER"
class_name = "CheckinScheduler"
[[migrations]]
tag = "v1"
new_sqlite_classes = ["CheckinScheduler"]