-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathwrangler.toml
More file actions
40 lines (33 loc) · 940 Bytes
/
Copy pathwrangler.toml
File metadata and controls
40 lines (33 loc) · 940 Bytes
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
name = "aifindr"
keep_vars = true
main = ".output/server/index.mjs"
compatibility_date = "2026-05-07"
compatibility_flags = ["nodejs_compat", "global_fetch_strictly_public"]
assets = { directory = ".output/public" }
routes = [
{ pattern = "aifindr.org", zone_name = "aifindr.org", custom_domain = true },
{ pattern = "www.aifindr.org", zone_name = "aifindr.org", custom_domain = true }
]
[[d1_databases]]
binding = "DB"
database_name = "aifindr-db"
database_id = "a8f4f867-a347-43a3-bc86-29fedd632d89"
[[kv_namespaces]]
binding = "CACHE"
id = "ae4b1dfcbdb145db969dc4a5e0b3e722"
[[r2_buckets]]
binding = "CDN"
bucket_name = "aifindr-cdn"
[vars]
# ✅ 只放非敏感的公开配置
API_BASE = "https://aifindr.org"
R2_PUBLIC_URL = "https://cdn.aifindr.org"
GITHUB_CLIENT_ID = "Ov23lioNhw0LD6MXeMFJ"
ADMIN_GITHUB_IDS = "1559584,284824170"
[triggers]
crons = [
"0 9 * * *",
"0 3 * * *",
"0 8 1 * *",
"0 14 * * 1",
]