-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
21 lines (21 loc) · 983 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
21 lines (21 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
// Cloudflare Workers — static assets (migrated from Pages).
// Assets-only Worker: no `main` script; every response is served directly
// from the built _site/ directory. `_site/_headers` (copied by Eleventy)
// supplies the security + cache-control headers and is honored here because
// there is no Worker code generating responses.
"name": "network-priority-com",
"compatibility_date": "2026-07-09",
// Production custom domains (migrated off the Pages project). custom_domain
// provisions the DNS record + edge certificate for each hostname.
"routes": [
{ "pattern": "network-priority.com", "custom_domain": true },
{ "pattern": "www.network-priority.com", "custom_domain": true }
],
"assets": {
"directory": "./_site",
// default: files serve without a trailing slash, folder index.html serves
// with one — matches this site's clean directory URLs (/foo/ -> /foo/index.html).
"html_handling": "auto-trailing-slash"
}
}