Skip to content

Commit

Permalink
Add wrangler toml sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ostenbom committed May 12, 2023
1 parent 854ff9b commit 699a89f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
**/*.rs.bk

# We don't want to save KV IDs in our source code
worker/wrangler.toml
wrangler.toml
13 changes: 13 additions & 0 deletions worker/wrangler.toml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "linkup-worker"
main = "build/worker/shim.mjs"
compatibility_date = "2022-01-20"

kv_namespaces = [
{ binding = "LINKUP_SESSIONS", id = "xxx", preview_id = "xxx" },
]

[vars]
WORKERS_RS_VERSION = "0.0.16"

[build]
command = "cargo install -q worker-build --version 0.0.9 && worker-build --release"

0 comments on commit 699a89f

Please sign in to comment.