---
title: "DfRouter"
description: "The single production entrypoint for df.criccadamus.eu."
---

> Documentation Index
> Fetch the complete documentation index at: https://df.criccadamus.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# DfRouter

`DfRouter` is the only Worker with the `df.criccadamus.eu` custom domain. It
keeps the public URL stable while the internal services can evolve behind
service bindings.

## Routes

| Public path | Destination | Purpose |
| --- | --- | --- |
| `/` | `MangaDocs` | Nimbus documentation (default surface) |
| `/api/*` | `SyncApi` | Canonical search, auth, and personal sync API |
| `/admin/*` | `df-admin` | TanStack Start infrastructure dashboard |
| `/paperback/*` | `PaperbackCatalog` | Paperback source repository |

The router strips the `/api` and `/paperback` prefixes before forwarding so
each mounted tree is rooted at `/`. The `/admin` prefix is forwarded intact —
the dashboard is built with a matching base path. Every other path —
including the hostname root — forwards untouched to MangaDocs, whose Astro
routes are generated from the `src/content/docs/` folder ordering. Unknown
paths render the docs 404 page.

## Deployment boundary

The custom domain is provisioned by `iac/alchemy.run.ts`. The router has no
provider credentials and does not make upstream API calls. It only dispatches
requests to the bound Workers.

> **No development endpoint**
>
> All production resources set `workersDev: false`. The public contract
> is the custom domain and its mounted paths above.

## Health check

Use the mounted health route when checking the deployment:

```sh
curl https://df.criccadamus.eu/api/health
```

Source: https://df.criccadamus.eu/workers/router/index.mdx
