-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
22 lines (19 loc) · 829 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
22 lines (19 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$schema": "node_modules/wrangler/config-schema.json",
// Must match the Workers Builds-connected service name in the dashboard.
"name": "docs",
"compatibility_date": "2026-07-18",
// Run by `wrangler deploy` (locally and in Cloudflare Workers Builds)
// before uploading assets.
"build": { "command": "pnpm build" },
// Static site: assets-only Worker, no script. Legacy-URL redirects are
// served as real 301s via the dist/_redirects file emitted at build time
// from the `redirects` map in astro.config.mjs.
"assets": {
"directory": "./dist",
"not_found_handling": "404-page",
// Pages build as /path.html (Astro build.format 'file'); /path/ 301s to /path.
"html_handling": "drop-trailing-slash"
},
"routes": [{ "pattern": "docs.streamelements.com", "custom_domain": true }]
}