Skip to content

Commit

Permalink
feat: wrangler.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TinsFox committed Nov 1, 2024
1 parent c08365c commit 3faa6b6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ lerna-debug.log*
.DS_Store
prisma/dev.db

wrangler.toml
.dev.vars
.dev.vars
27 changes: 27 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = "mock-service"
compatibility_date = "2024-09-12"
compatibility_flags = ["nodejs_compat_v2"]

[vars]


# [[kv_namespaces]]
# binding = "MY_KV_NAMESPACE"
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# [[r2_buckets]]
# binding = "MY_BUCKET"
# bucket_name = "my-bucket"

[[d1_databases]]
binding = "DB"
database_name = "mock-service"
database_id = "68f721e8-ba44-47fd-bcc3-f2989b1292f8"


# [ai]
# binding = "AI"

[observability]
enabled = true
head_sampling_rate = 1

0 comments on commit 3faa6b6

Please sign in to comment.