-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
70 lines (68 loc) · 1.53 KB
/
wrangler.jsonc
File metadata and controls
70 lines (68 loc) · 1.53 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
{
"name": "backend",
"main": "build/worker/shim.mjs",
"compatibility_date": "2025-07-26",
"placement": {
"mode": "smart",
},
"observability": {
"enabled": true,
"traces": {
"enabled": true,
},
"logs": {
"enabled": true,
},
},
"build": {
"watch_dir": "./src",
"command": "cargo install -q worker-build && worker-build --dev",
},
"vars": {
"DASHBOARD_URL": "http://localhost:5173",
"API_HOST": "http://127.0.0.1:8787",
"DISCORD_CLIENT_ID": "1340907937471660142",
},
"d1_databases": [
{
"binding": "DB",
"database_name": "test",
"database_id": "abf560e8-ca5d-42f4-8791-1468261d66cc",
"remote": true,
},
],
"durable_objects": {
"bindings": [
{
"name": "BOTROOM",
"class_name": "BotDurable",
},
],
},
"env": {
"production": {
"vars": {
"DASHBOARD_URL": "https://webpage-production.giloe-dev.workers.dev",
"API_HOST": "https://backend-production.giloe-dev.workers.dev",
},
"build": {
"command": "cargo install -q worker-build && worker-build --release",
},
},
"staging": {
"vars": {
"DASHBOARD_URL": "https://webpage-staging.giloe-dev.workers.dev",
"API_HOST": "https://backend-staging.giloe-dev.workers.dev",
},
"build": {
"command": "cargo install -q worker-build && worker-build --release",
},
},
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": ["BotDurable"],
},
],
}