From 03760b23a537aef67f0e6bcbc28e506059c0f052 Mon Sep 17 00:00:00 2001 From: pkupuk Date: Wed, 11 Mar 2026 18:48:13 +0800 Subject: [PATCH] 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 --- apps/frontend/wrangler.jsonc | 4 ++-- apps/frontend/wrangler.toml | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 apps/frontend/wrangler.toml diff --git a/apps/frontend/wrangler.jsonc b/apps/frontend/wrangler.jsonc index 32d1bcd..e55fcac 100644 --- a/apps/frontend/wrangler.jsonc +++ b/apps/frontend/wrangler.jsonc @@ -1,6 +1,6 @@ { "$schema": "./node_modules/wrangler/config-schema.json", - "name": "enchun-frontend", + "name": "website-enchun-mgr", "main": "./dist/_worker.js/index.js", "compatibility_date": "2025-01-19", "compatibility_flags": [ @@ -14,7 +14,7 @@ }, "env": { "production": { - "name": "enchun-frontend-production", + "name": "website-enchun-mgr-production", "vars": { "PAYLOAD_CMS_URL": "https://enchun-admin.anlstudio.cc" } diff --git a/apps/frontend/wrangler.toml b/apps/frontend/wrangler.toml deleted file mode 100644 index 0a47162..0000000 --- a/apps/frontend/wrangler.toml +++ /dev/null @@ -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" \ No newline at end of file