Skip to content

Commit f8dd593

Browse files
committed
Move to Workers
1 parent 080a884 commit f8dd593

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

wrangler-workers.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
#:schema ./node_modules/wrangler/config-schema.json
12
name = "cloudflare-docs"
23
account_id = "b54f07a6c269ecca2fa60f1ae4920c99"
34
compatibility_date = "2022-09-27"
45
main = "./worker/index.ts"
56

7+
route = { pattern = "developers.cloudflare.com/*", zone_name = "developers.cloudflare.com"}
8+
69
rules = [
710
{ type = "Text", globs = ["**/_redirects"], fallthrough = true },
811
]

wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
#:schema ./node_modules/wrangler/config-schema.json
12
name = "cloudflare-docs"
23
compatibility_date = "2022-09-27"
3-

0 commit comments

Comments
 (0)