Skip to content

Commit

Permalink
add wrangler.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhravya committed Mar 31, 2024
1 parent 068012a commit 44d592c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.sqlite
*.lockb
.next
wrangler.toml
.wrangler
drizzle/

Expand Down
1 change: 1 addition & 0 deletions apps/cf-ai-backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Logs
wrangler.toml

logs
_.log
Expand Down
1 change: 0 additions & 1 deletion apps/web/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
wrangler.toml
.next/

# dependencies
Expand Down
12 changes: 12 additions & 0 deletions apps/web/wrangler.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 44d592c

Please sign in to comment.