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
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "./node_modules/wrangler/config-schema.json",
|
"$schema": "./node_modules/wrangler/config-schema.json",
|
||||||
"name": "enchun-frontend",
|
"name": "website-enchun-mgr",
|
||||||
"main": "./dist/_worker.js/index.js",
|
"main": "./dist/_worker.js/index.js",
|
||||||
"compatibility_date": "2025-01-19",
|
"compatibility_date": "2025-01-19",
|
||||||
"compatibility_flags": [
|
"compatibility_flags": [
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"production": {
|
"production": {
|
||||||
"name": "enchun-frontend-production",
|
"name": "website-enchun-mgr-production",
|
||||||
"vars": {
|
"vars": {
|
||||||
"PAYLOAD_CMS_URL": "https://enchun-admin.anlstudio.cc"
|
"PAYLOAD_CMS_URL": "https://enchun-admin.anlstudio.cc"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
name = "enchun-frontend"
|
|
||||||
compatibility_date = "2024-01-01"
|
|
||||||
pages_build_output_dir = "dist"
|
|
||||||
|
|
||||||
[vars]
|
|
||||||
PAYLOAD_CMS_URL = "https://enchun-admin.anlstudio.cc"
|
|
||||||
|
|
||||||
[env.production.vars]
|
|
||||||
PAYLOAD_CMS_URL = "https://enchun-admin.anlstudio.cc"
|
|
||||||
Reference in New Issue
Block a user