-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
36 lines (30 loc) · 1 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
#:schema node_modules/wrangler/config-schema.json
name = "oscar"
main = "src/index.ts"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
workers_dev = false
[env.prd]
routes = [
{ pattern = "oscar.svc.cloudflavor.dev", zone_name = "cloudflavor.dev", custom_domain = true },
]
[[env.prd.unsafe.bindings]]
namespace_id = "1505"
name = "OSCAR_RATE_LIMITER"
type = "ratelimit"
simple = { limit = 100, period = 60 }
[env.prd.vars]
OSCAR_LOG_LEVEL = "info"
OSCAR_ACCESS_CONFIG_URI = "https://raw.githubusercontent.com/cloudflavor/access/main/cloudflavor.toml"
[env.stg.vars]
OSCAR_LOG_LEVEL = "debug"
OSCAR_ACCESS_CONFIG_URI = "https://raw.githubusercontent.com/cloudflavor/access/main/cloudflavor.toml"
[env.dev.vars]
OSCAR_LOG_LEVEL = "debug"
OSCAR_ACCESS_CONFIG_URI = "https://raw.githubusercontent.com/cloudflavor/access/main/cloudflavor.toml"
[env.dev.unsafe]
[[env.dev.unsafe.bindings]]
name = "OSCAR_RATE_LIMITER"
type = "ratelimit"
namespace_id = "1506"
simple = { limit = 100, period = 60 }