From 5586e2d160c17bb3323cfe81cc686c8b71aa7d46 Mon Sep 17 00:00:00 2001 From: yurhasko <103924414+yurhasko@users.noreply.github.com> Date: Thu, 16 Jan 2025 00:30:06 +0200 Subject: [PATCH] Added custom domain example to wrangler.toml.example (#91) Signed-off-by: yurhasko --- wrangler.toml.example | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wrangler.toml.example b/wrangler.toml.example index 9f1f7e0..15090b4 100644 --- a/wrangler.toml.example +++ b/wrangler.toml.example @@ -1,6 +1,11 @@ name = "r2-registry" -workers_dev = true +# Custom Cloudflare domain for worker: +# routes = [ +# { pattern = "your.custom.domain", custom_domain = true } +# ] + +workers_dev = true #set to false to disable the default Worker domain (applicable only if custom domain is used instead) main = "./index.ts" compatibility_date = "2024-09-09" compatibility_flags = ["nodejs_compat"]