-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
44 lines (34 loc) · 1.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
37
38
39
40
41
42
43
name = "api-mgmt-do"
account_id = "b6641681fe423910342b9ffa1364c76d"
route = { pattern = "*api.mgmt.do/*", zone_name = "mgmt.do" }
main = "worker.js"
usage_model = "unbound"
compatibility_date = "2022-06-21"
node_compat = true
[vars]
AUTH_REQUIRED = true
LOGGING_ENABLED = true
LOG_REQUEST_BODY = true
LOG_RESPONSE_BODY = true
ALLOW_ANONYMOUS = true
ANONYMOUS_RATE_LIMIT = 100
SUBSCRIPTION_REQUIRED = true
SUBSCRIBER_RATE_LIMIT = 10000
STRIPE_CHECKOUT_URL = "https://buy.stripe.com/eVa03Y5Su8p51Xi5ku"
# This API service binding references a worker that does not need
# to have a *.workers.dev or other public endpoint. The API service
# is accessed through a Service binding from the gateway Worker directly.
# The API Worker is, effectively, a private Worker Service.
services = [
{ binding = "API", service = "api", environment = "production" }
]
r2_buckets = [
{ binding = "LOGS", bucket_name = "logs", preview_bucket_name = "logs-dev" }
]
# [durable_objects]
# bindings = [
# { name = "DEVELOPER", class_name = "Developer" }
# ]
# [[migrations]]
# tag = "v1"
# new_classes = ["DEVELOPER"]