Files
website-enchun-mgr/apps/frontend/wrangler.jsonc
pkupuk 03760b23a5 chore(frontend): consolidate wrangler config to jsonc
- Remove redundant wrangler.toml (old Pages config)
- Rename worker from enchun-frontend to website-enchun-mgr
- Keep wrangler.jsonc as single source of truth
2026-03-11 18:48:13 +08:00

23 lines
590 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"
},
"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"
}
}
}
}