prose

How the site is deployed

Cloudflare builds this repository's own site from main. It serves it as a Worker with static assets, which are only the pages prose build writes, with no code.

The Worker's build command is pnpm run verify, and its deploy command is pnpm run ship, which runs wrangler deploy and reads this file, domain included, so a deploy can't drop it. The steps are in development.

name = "prose"
compatibility_date = "2026-10-01"
routes = [{ pattern = "prose.amitkaps.com", custom_domain = true }]

[assets]
directory = ".prose"
# Serve the site's own 404.html for any missing address.
not_found_handling = "404-page"
# Serve /src/store.ts from src/store.ts.html, with no redirect.
html_handling = "auto-trailing-slash"