This commit is contained in:
浪子
2026-05-14 11:47:25 +08:00
parent 01880d39a0
commit 5b01f18719
11 changed files with 512 additions and 29 deletions
+5 -4
View File
@@ -3,16 +3,17 @@
"main": "src/index.ts",
"compatibility_date": "2026-05-13",
"vars": {
"PUBLIC_BASE_URL": "https://social.example.com",
"PUBLIC_BASE_URL": "https://zxd.im",
"MEDIA_BASE_URL": "https://toot-media.zxd.im",
"INSTANCE_NAME": "Toot Worker",
"ADMIN_USERNAME": "admin",
"ADMIN_USERNAME": "sun",
"ADMIN_PASSWORD": "change-me-before-deploy"
},
"d1_databases": [
{
"binding": "DB",
"database_name": "toot_db",
"database_id": "00000000-0000-0000-0000-000000000000"
"database_id": "8e042858-bf5f-4d7a-ad84-3e002b0b2f42"
}
],
"r2_buckets": [
@@ -24,7 +25,7 @@
"kv_namespaces": [
{
"binding": "KV",
"id": "00000000000000000000000000000000"
"id": "0e14d63f7d624358ab6507ef1bac9017"
}
]
}