-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwrangler.toml
47 lines (43 loc) · 1.59 KB
/
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
40
41
42
43
44
45
46
47
#: schema https://github.com/cloudflare/workers-sdk/files/12887590/wrangler.schema.json
# https://developers.cloudflare.com/workers/wrangler/configuration
# default stage is "development"
#
# start of globally inheritable configuration
name = "indexer"
main = "./src/index.ts"
minify = true
keep_vars = true
node_compat = true
placement = { mode = "smart" }
compatibility_date = "2023-10-30"
# end of globally inheritable configuration
#
vars = { ENVIRONMENT = "development" }
services = [{ binding = "ens", service = "ens" }]
kv_namespaces = [
{ binding = "EFP_DATA_CACHE", id = "5092581c2d524711a04560d335966a60", preview_id = "608971607bd2469e8972a0811f8de589" }
]
[env.development]
name = "development"
workers_dev = true
vars = { ENVIRONMENT = "development", IS_DEMO = "false" }
routes = [
{ pattern = "development.api.ethfollow.xyz", custom_domain = true, zone_id = "0bb17a76c05f664a7c6cfd16721216cf" },
]
services = [{ binding = "ens", service = "ens" }]
kv_namespaces = [
{ binding = "EFP_DATA_CACHE", id = "c350ab2182ba476bb060fe9f5d0e026b" }
]
[env.production]
name = "production"
workers_dev = true
vars = { ENVIRONMENT = "production", IS_DEMO = "false" }
routes = [
{ pattern = "api.ethfollow.xyz", custom_domain = true, zone_id = "0bb17a76c05f664a7c6cfd16721216cf" },
{ pattern = "production.api.ethfollow.xyz", custom_domain = true, zone_id = "0bb17a76c05f664a7c6cfd16721216cf" },
]
services = [{ binding = "ens", service = "ens" }]
kv_namespaces = [
{ binding = "EFP_DEMO_KV", id = "c490de9b7d434fdb927933a86d1d2db4" },
{ binding = "EFP_DATA_CACHE", id = "5092581c2d524711a04560d335966a60" }
]