-
Notifications
You must be signed in to change notification settings - Fork 1
/
wrangler.toml
35 lines (31 loc) · 1.09 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
account_id = "3bfabc4463c2c3c340f7301d22ed18c0"
main = "src/index.ts"
name = "serlo-cloudflare-worker"
send_metrics = false
compatibility_date = "2023-07-14"
[env.staging]
kv_namespaces = [
{ binding = "PATH_INFO_KV", id = "839198b2f0a242b491e5723a8c59b7e2", preview_id = "839198b2f0a242b491e5723a8c59b7e2" },
]
name = "serlo-staging"
route = { pattern = "*serlo-staging.dev/*", zone_id = "0067b08b108fbcf88ddaeaae4ac3d6ac" }
[env.staging.vars]
ALLOW_AUTH_FROM_LOCALHOST = "true"
API_ENDPOINT = "https://api.serlo-staging.dev/graphql"
DOMAIN = "serlo-staging.dev"
ENVIRONMENT = "staging"
ENABLE_BASIC_AUTH = "true"
FRONTEND_DOMAIN = "frontend-git-staging-serlo.vercel.app"
[env.production]
kv_namespaces = [
{ binding = "PATH_INFO_KV", id = "c3412114bdb04cfd8a367ec5bad46173" },
]
name = "serlo-production"
route = { pattern = "*serlo.org/*", zone_id = "1a4afa776acb2e40c3c8a135248328ae" }
[env.production.vars]
ALLOW_AUTH_FROM_LOCALHOST = "false"
API_ENDPOINT = "https://api.serlo.org/graphql"
DOMAIN = "serlo.org"
ENVIRONMENT = "production"
ENABLE_BASIC_AUTH = "false"
FRONTEND_DOMAIN = "frontend.serlo.org"