wrangler.jsonc

{
  "name": "site-portfolio",
  "compatibility_date": "2026-09-26",
  "main": "./worker/index.ts",
  "build": {
    "command": "npm run build"
  },
  "assets": {
    "directory": "./out",
    "binding": "ASSETS",
    "html_handling": "auto-trailing-slash",
    "not_found_handling": "404-page",
    // Only the editor's sign-in routes run code; everything else is served as static files.
    "run_worker_first": ["/oauth/*"]
  }
}