first commit

This commit is contained in:
2026-09-11 15:49:41 +08:00
commit 5b69bc818a
98 changed files with 30551 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "yingfung-solar",
"main": "@astrojs/cloudflare/entrypoints/server",
"compatibility_date": "2026-09-10",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./dist",
"binding": "ASSETS",
"not_found_handling": "404-page"
},
"observability": {
"enabled": true,
"logs": { "enabled": true }
},
"vars": {
"SITE_NAME": "盈豐太陽能"
},
// ---- 以下 id 要由 `npm run db:create` / `npm run kv:create` 產生後填上 ----
"d1_databases": [
{
"binding": "DB",
"database_name": "yingfung-solar-db",
"database_id": "PASTE_D1_DATABASE_ID_HERE"
}
],
"kv_namespaces": [
{
"binding": "CACHE",
"id": "PASTE_KV_NAMESPACE_ID_HERE"
}
]
}