-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
wrangler.toml
39 lines (34 loc) · 1.07 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
name = "cdnjs-api-worker"
main = "src/index.js"
compatibility_date = "2022-05-20"
kv_namespaces = [
{ binding = "CACHE", id = "845ae1599dcf4d75950b61201a951b73", preview_id = "845ae1599dcf4d75950b61201a951b73" }
]
[vars]
DISABLE_CACHING = false
METADATA_BASE = ""
SENTRY_DSN = ""
SENTRY_RELEASE = ""
SENTRY_ENVIRONMENT = "development"
[env.staging]
route = { pattern = "api.cdnjs.dev/*", zone_name = "cdnjs.dev" }
kv_namespaces = [
{ binding = "CACHE", id = "34b159dab6f840ce9c17e4d0730ead12" }
]
[env.staging.vars]
DISABLE_CACHING = false
METADATA_BASE = ""
SENTRY_DSN = "" # Will be injected by build pipeline
SENTRY_RELEASE = "" # Will be injected by build pipeline
SENTRY_ENVIRONMENT = "staging"
[env.production]
route = { pattern = "api.cdnjs.com/*", zone_name = "cdnjs.com" }
kv_namespaces = [
{ binding = "CACHE", id = "c2922fcf1af643658d6769859b913134" }
]
[env.production.vars]
DISABLE_CACHING = false
METADATA_BASE = ""
SENTRY_DSN = "" # Will be injected by build pipeline
SENTRY_RELEASE = "" # Will be injected by build pipeline
SENTRY_ENVIRONMENT = "production"