Repository navigation
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
90 lines (87 loc) · 2.52 KB
/
Copy pathwrangler.jsonc
File metadata and controls
90 lines (87 loc) · 2.52 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "api",
"main": "src/index.ts",
"compatibility_date": "2024-09-23",
"account_id": "f87ee4b9600f437b8da1104d077418c3",
"observability": {
"enabled": true
},
"durable_objects": {
"bindings": [
{
"name": "GATEWAY",
"class_name": "GatewayManager"
},
{
"name": "SYSTEM",
"class_name": "SystemState"
}
]
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": [
"GatewayManager"
]
},
{
"tag": "v2",
"new_sqlite_classes": [
"SystemState"
]
}
],
"kv_namespaces": [
{
"binding": "PROFILE_CACHE",
"id": "0ad7fefa9239482a9028c820e4a0cec1"
}
],
// Static assets: everything under ./assets is served at the site root, so
// ./assets/capes/<uuid>.png is reachable at /capes/<uuid>.png and
// ./assets/icon.png at /icon.png. Unmatched paths fall through to the Worker
// router (src/index.ts). The ASSETS binding lets the Worker check whether a
// given asset exists (used for doughmination capes).
"assets": {
"directory": "./assets",
"binding": "ASSETS",
"html_handling": "none",
"not_found_handling": "none"
},
"triggers": {
"crons": [
"*/2 * * * *"
]
},
"vars": {
"DISCORD_API_VERSION": "9",
"TRACKED_GUILD_IDS": "",
"DISCORD_CLIENT_BUILD_NUMBER": "602393",
"GIRLS_GUILD_ID": "1498839518265213069",
// Guilds to resolve per-user membership for (roles/join/boost/nick/avatar/
// timeout). Empty falls back to TRACKED_GUILD_IDS; empty there = skipped.
"MEMBERSHIP_GUILD_IDS": "",
// Third-party enrichment sources (all overridable if you self-host a fork).
"PRONOUNDB_API_BASE": "https://pronoundb.org",
"TIMEZONE_API_BASE": "https://timezone.creations.works",
"REVIEWDB_API_BASE": "https://manti.vendicated.dev/api/reviewdb",
"REVIEWDB_MAX": "25",
"CACHE_TTL": "30",
"ADMIN_USERNAME": "clove",
"ADMIN_DISPLAY_NAME": "Administrator",
"ADMIN_EMAIL": "admin@doughmination.win",
"BASE_URL": "https://doughmination.uk",
"CORS_ORIGINS": "",
"COUNTER_SITE_IDS": "is.doughmination.gay",
"FRONTEND_URL": "https://doughmination.co.uk",
// ---- Doughmination SSO (auth-server) -----
// Secrets: wrangler secret put SSO_CLIENT_ID / SSO_CLIENT_SECRET
"SSO_ISSUER": "https://auth.doughmination.gay",
"SSO_REDIRECT_URI": "https://doughmination.uk/v2/plural/auth/sso/callback",
"SSO_SCOPES": "openid profile email offline_access",
"SSO_POST_LOGIN_URL": "https://doughmination.co.uk/user/login/callback",
"SSO_POST_LOGOUT_REDIRECT_URI": "https://doughmination.co.uk/",
}
}