Interface: ExpressKitaHtmlOptions

Estimated reading time: less than 1 minute

Options for @kitajs/express-html-plugin middleware.

Properties

autoDoctype

autoDoctype: boolean

Whether to automatically add <!doctype html> to a response starting with , if not found.

Default

true

disableRequestId

disableRequestId: boolean

Whether the middleware should avoid assigning req.id.

Disable this if another middleware already owns request ids. When disabled, you must ensure req.id is available before using Suspense rid={req.id}.

Default

false