first commit
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user