aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/web/wrangler.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml
index da9cd616..d4312161 100644
--- a/apps/web/wrangler.toml
+++ b/apps/web/wrangler.toml
@@ -12,10 +12,12 @@ binding = "STORAGE"
bucket_name = "dev-r2-anycontext"
-[[d1_databases]]
+[[env.production.d1_databases]]
binding = "DATABASE"
-# database_name = "prod-d1-supermemory"
-# database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
+database_name = "prod-d1-supermemory"
+database_id = "f527a727-c472-41d4-8eaf-3d7ba0f2f395"
+[[env.preview.d1_databases]]
+binding = "DATABASE"
database_name = "dev-d1-anycontext"
database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" \ No newline at end of file