From 44d592cf3f050fc65caf4664885c7d96b6d391a1 Mon Sep 17 00:00:00 2001 From: Dhravya Date: Sat, 30 Mar 2024 23:54:37 -0700 Subject: [PATCH] add wrangler.toml --- .gitignore | 1 - apps/cf-ai-backend/.gitignore | 1 + apps/web/.gitignore | 1 - apps/web/wrangler.toml | 12 ++++++++++++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 apps/web/wrangler.toml 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