Files
website-enchun-mgr/apps/frontend/wrangler.jsonc
pkupuk f17523fd91 fix(frontend): add SESSION KV namespace binding
Required by @astrojs/cloudflare adapter for session persistence.
2026-03-11 21:37:35 +08:00

29 lines
727 B
JSON

{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "website-enchun-mgr",
"main": "./dist/_worker.js/index.js",
"compatibility_date": "2025-01-19",
"compatibility_flags": [
"nodejs_compat"
],
"assets": {
"directory": "./dist"
},
"kv_namespaces": [
{
"binding": "SESSION",
"id": "0de94ad20be24add94c1f8fe9c4a0440"
}
],
"vars": {
"PAYLOAD_CMS_URL": "https://enchun-admin.anlstudio.cc"
},
"env": {
"production": {
"name": "website-enchun-mgr-production",
"vars": {
"PAYLOAD_CMS_URL": "https://enchun-admin.anlstudio.cc"
}
}
}
}