From bccecf1fceec49b76b02d17a89a1c2b60c7cef61 Mon Sep 17 00:00:00 2001 From: Thanan Traiongthawon <95660+nullcoder@users.noreply.github.com> Date: Thu, 5 Jun 2025 01:58:57 -0700 Subject: [PATCH] feat: configure custom domain ghostpaste.dev in wrangler.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add custom domain route configuration to enable the application to be accessible via ghostpaste.dev instead of just the Workers subdomain. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- wrangler.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wrangler.toml b/wrangler.toml index 16bce4b..30c4f4c 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -3,6 +3,11 @@ main = ".open-next/worker.js" compatibility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] +# Custom domain +[[routes]] +pattern = "ghostpaste.dev" +custom_domain = true + # Static assets configuration for Workers [assets] directory = ".open-next/assets"