The swiss army knife of lossless video/audio editing
// Cloudflare Workers config: serve the built site (dist/, see astro.config.ts) as static assets.
{
"name": "losslesscut-app",
"compatibility_date": "2026-08-03",
// served at https://losslesscut.app (a custom domain, set in the Cloudflare dashboard), not at losslesscut-app.<subdomain>.workers.dev.
// Without this, deploys turn workers.dev back on (the default when the config has no routes).
"workers_dev": false,
// but keep the workers.dev preview URLs of branches and pull requests
"preview_urls": true,
"assets": {
"directory": "./dist",
// /docs/cli is served from docs/cli/index.html, and /docs/cli/ redirects to it
"html_handling": "drop-trailing-slash",
"not_found_handling": "404-page"
},
// enables previews for branches and pull requests (`wrangler preview`); the settings above apply to them too
"previews": {}
}