sandbox-web-ide/backend/database/wrangler.example.toml

20 lines
546 B
TOML
Raw Normal View History

#:schema node_modules/wrangler/config-schema.json
name = "database"
main = "src/index.ts"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
services = [{ binding = "STORAGE", service = "storage" }]
# Create a new D1 database using the Wrangler CLI and fill in database_name and database_id.
[[d1_databases]]
binding = "DB"
database_name = ""
database_id = ""
2024-05-26 18:37:36 -07:00
# Set STORAGE_WORKER_URL after deploying the worker.
# Set KEY to be the same as KEY in /backend/storage/wrangler.toml.
2024-05-26 18:37:36 -07:00
[vars]
KEY = ""
STORAGE_WORKER_URL = ""