forked from triggerdotdev/jsonhero-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
39 lines (30 loc) · 756 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name = "jsonhero-io"
type = "javascript"
compatibility_date = "2022-02-01"
account_id = "0e405dda228e3448f1366acb0bc341ef"
workers_dev = true
kv_namespaces = [
{ binding = "DOCUMENTS", id = "8c6a9a71fc504abdaaa7aa409c7b2abd" }
]
[vars]
GRAPH_JSON_COLLECTION = "jsonhero-dev"
[site]
bucket = "./public"
entry-point = "."
[build]
command = "npm run build:worker"
watch_dir = "build/index.js"
[build.upload]
format="service-worker"
[env.production]
route = "jsonhero.io/*"
zone_id = "af3c12add61e94b88b3d2cbfb6f65782"
kv_namespaces = [
{ binding = "DOCUMENTS", id = "e517c369774a443eba95afff9128f7b6" }
]
[env.production.vars]
GRAPH_JSON_COLLECTION = "jsonhero-prod"
# Secrets
# [SESSION_STORAGE]
# [GRAPH_JSON_API_KEY]
# [APIHERO_PROJECT_KEY]