add wrangler.toml

This commit is contained in:
Dhravya 2024-03-30 23:54:37 -07:00
parent 818639bdaf
commit 8f183576f6
4 changed files with 13 additions and 2 deletions

1
.gitignore vendored
View file

@ -3,7 +3,6 @@
*.sqlite
*.lockb
.next
wrangler.toml
.wrangler
drizzle/

View file

@ -1,4 +1,5 @@
# Logs
wrangler.toml
logs
_.log

1
apps/web/.gitignore vendored
View file

@ -1,5 +1,4 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
wrangler.toml
.next/
# dependencies

12
apps/web/wrangler.toml Normal file
View file

@ -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"