craftz

The Worker

What Cloudflare runs for craftz's site: its name, compatibility date, domain and how it serves the files. The site is the docs, the folder prose build writes, so it's static, and craftz deploy uploads it.

Keep the name equal to the Worker connected to this repository in the dashboard. The build and deploy commands are set on the Worker, as the rules list. The site answers only on its domain, so workers.dev and preview URLs are off.

import { defineConfig } from "cf/config";

export default defineConfig({
  worker: {
    name: "craftz",
    compatibilityDate: "2026-10-12",
    domains: ["craftz.amitkaps.com"],
    workersDev: false,
    previewUrls: false,
    assets: {
      // Serve the 404.html prose writes for any missing address.
      notFoundHandling: "404-page",
    },
  },
});