Skip to content

Commit 5586e2d

Browse files
authored
Added custom domain example to wrangler.toml.example (#91)
Signed-off-by: yurhasko <[email protected]>
1 parent fa531b3 commit 5586e2d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

wrangler.toml.example

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name = "r2-registry"
22

3-
workers_dev = true
3+
# Custom Cloudflare domain for worker:
4+
# routes = [
5+
# { pattern = "your.custom.domain", custom_domain = true }
6+
# ]
7+
8+
workers_dev = true #set to false to disable the default Worker domain (applicable only if custom domain is used instead)
49
main = "./index.ts"
510
compatibility_date = "2024-09-09"
611
compatibility_flags = ["nodejs_compat"]

0 commit comments

Comments
 (0)