summaryrefslogtreecommitdiff
path: root/wrangler.jsonc
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-06-27 10:10:56 +0200
committerYuval Adam <_@yuv.al>2025-06-27 10:10:56 +0200
commit2ad5ce929f6d69c9aaca71573744b30e02ab8bed (patch)
tree078cd3b8a968ebfd99e86492abb9564f183ec21a /wrangler.jsonc
parent0282fb367ecfd3864cf94c27a44961a61e2ff6f2 (diff)
Add cloudflare basic impl
Diffstat (limited to 'wrangler.jsonc')
-rw-r--r--wrangler.jsonc16
1 files changed, 16 insertions, 0 deletions
diff --git a/wrangler.jsonc b/wrangler.jsonc
new file mode 100644
index 0000000..2c58a61
--- /dev/null
+++ b/wrangler.jsonc
@@ -0,0 +1,16 @@
+{
+ // Cloudflare Workers configuration
+ "name": "astro-base-cf",
+ "compatibility_date": "2024-06-27",
+ "compatibility_flags": ["nodejs_compat"],
+
+ // D1 Database configuration
+ "d1_databases": [
+ {
+ "binding": "DB",
+ "database_name": "astro-base-db",
+ "database_id": "your-database-id-here",
+ "preview_database_id": "your-preview-database-id-here"
+ }
+ ]
+} \ No newline at end of file