Skip to content

Commit f483349

Browse files
Bind worker routes in config
1 parent 605bf9e commit f483349

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

wrangler.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ main = "index.js"
33
compatibility_date = "2026-04-26"
44
account_id = "6a46b418508c26278ae2d3373f41da81"
55

6-
# Routes are managed via Cloudflare Dashboard → Workers & Pages → acreetionos-worker → Triggers → Routes
7-
# Route: acreetionos.org/api/*
8-
# Route: acreetionos.org/flash.html
6+
routes = [
7+
{ pattern = "acreetionos.org/api/*", zone_name = "acreetionos.org" },
8+
{ pattern = "acreetionos.org/flash.html", zone_name = "acreetionos.org" }
9+
]
10+
11+
# Routes are now managed here so GitHub Actions deploys the correct worker binding.
912

1013
[triggers]
1114
# Check every 30 min: verify all ISOs downloadable, auto-fix broken

0 commit comments

Comments
 (0)