-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
51 lines (51 loc) · 891 Bytes
/
wrangler.jsonc
File metadata and controls
51 lines (51 loc) · 891 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
41
42
43
44
45
46
47
48
49
50
51
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "cloudsync",
"main": "src/index.ts",
"compatibility_flags": [
"nodejs_compat",
],
"compatibility_date": "2026-01-28",
"rules": [
{
"type": "CompiledWasm",
"globs": ["**/*.wasm"],
"fallthrough": true,
},
{
"type": "Text",
"globs": ["**/*.svg"],
"fallthrough": true,
},
],
"define": {
"IS_PRODUCTION": "false",
},
// Ratelimit of max 20 requests/10s per user (production)
"ratelimits": [
{
"name": "USER_RATELIMIT",
"namespace_id": "1001",
"simple": {
"limit": 20,
"period": 10,
},
},
],
"d1_databases": [
{
"binding": "DB",
"database_name": "VendettaCloudSync",
"database_id": "61cfcfdb-1845-4be8-9fd6-c4bdee4fa4c7",
},
],
"observability": {
"enabled": true,
},
"triggers": {
"crons": [
// the silly service
"0 2 * * *",
],
},
}