From c6cc3ab561bcdabb14e6113f25c71fc3c4754a19 Mon Sep 17 00:00:00 2001 From: TooonyChen <26252739+TooonyChen@users.noreply.github.com> Date: Sun, 15 Mar 2026 03:44:39 +1300 Subject: [PATCH] refactor: put "routes" to the top --- wrangler.toml.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wrangler.toml.example b/wrangler.toml.example index 9f7cf6f..39d95df 100644 --- a/wrangler.toml.example +++ b/wrangler.toml.example @@ -7,16 +7,16 @@ main = "src/index.ts" compatibility_date = "2024-10-04" compatibility_flags = ["nodejs_compat"] -[assets] -directory = "./web/dist" -binding = "ASSETS" - # If you want to use a custom domain, you need to add routes configuration. # 如果你想使用自定义域名,你需要添加 routes 配置 #routes = [ # { pattern = "email.xxxxx.com", custom_domain = true }, #] +[assets] +directory = "./web/dist" +binding = "ASSETS" + # Workers Logs # Docs: https://developers.cloudflare.com/workers/observability/logs/workers-logs/ # Configuration: https://developers.cloudflare.com/workers/observability/logs/workers-logs/#enable-workers-logs