-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrangler.toml
More file actions
24 lines (19 loc) · 665 Bytes
/
wrangler.toml
File metadata and controls
24 lines (19 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name = "poll"
type = "javascript"
workers_dev = true
compatibility_date = "2021-10-01"
compatibility_flags = [ "formdata_parser_supports_files" ] # required
kv_namespaces = [
{ binding = "POLL", preview_id = "fc438cc923ee44f99eb5dac0976d13f0", id = "6d946deab2eb42529a52cecaa28a6f81" }
]
[build]
command = "cargo install -q worker-build && worker-build --release" # required
[build.upload]
dir = "build/worker"
format = "modules"
main = "./shim.mjs"
[[build.upload.rules]]
globs = ["**/*.wasm"]
type = "CompiledWasm"
# read more about configuring your Worker via wrangler.toml at:
# https://developers.cloudflare.com/workers/cli-wrangler/configuration