aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-03-30 23:54:37 -0700
committerDhravya <[email protected]>2024-03-30 23:54:37 -0700
commit44d592cf3f050fc65caf4664885c7d96b6d391a1 (patch)
tree51abc418e2f01f0a796481157154c01b99e55ccf
parentMerge branch 'main' of https://github.com/Dhravya/supermemory (diff)
downloadsupermemory-44d592cf3f050fc65caf4664885c7d96b6d391a1.tar.xz
supermemory-44d592cf3f050fc65caf4664885c7d96b6d391a1.zip
add wrangler.toml
-rw-r--r--.gitignore1
-rw-r--r--apps/cf-ai-backend/.gitignore1
-rw-r--r--apps/web/.gitignore1
-rw-r--r--apps/web/wrangler.toml12
4 files changed, 13 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 4c1fbc39..a1a982fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,6 @@
*.sqlite
*.lockb
.next
-wrangler.toml
.wrangler
drizzle/
diff --git a/apps/cf-ai-backend/.gitignore b/apps/cf-ai-backend/.gitignore
index 3b0fe33c..c51412d9 100644
--- a/apps/cf-ai-backend/.gitignore
+++ b/apps/cf-ai-backend/.gitignore
@@ -1,4 +1,5 @@
# Logs
+wrangler.toml
logs
_.log
diff --git a/apps/web/.gitignore b/apps/web/.gitignore
index a54f64a5..b7862632 100644
--- a/apps/web/.gitignore
+++ b/apps/web/.gitignore
@@ -1,5 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-wrangler.toml
.next/
# dependencies
diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml
new file mode 100644
index 00000000..6630b0d0
--- /dev/null
+++ b/apps/web/wrangler.toml
@@ -0,0 +1,12 @@
+name = "web"
+compatibility_date = "2024-03-29"
+compatibility_flags = ["nodejs_compat"]
+
+[[vectorize]]
+binding = "VECTORIZE_INDEX"
+index_name = "anycontext-idx"
+
+[[d1_databases]]
+binding = "DATABASE"
+database_name = "dev-d1-anycontext"
+database_id = "fc562605-157a-4f60-b439-2a24ffed5b4c" \ No newline at end of file