variable default

Mounted by api/main.ts behind the error, Open Graph and CORS middleware. An APIException thrown by a handler becomes the JSON error response there.

Type

Router

Usage

import mod from "api/routes/attachments.ts";