Interface: ExpressKitaHtmlOptions
Estimated reading time: less than 1 minuteOptions for @kitajs/express-html-plugin middleware.
Properties
autoDoctype?
Whether to automatically add <!doctype html> to a response starting with , if not
found.
Default
autoSuspense?
Whether to provide the request ID to AutoSuspense components automatically.
When disableRequestId is also enabled, earlier middleware must assign req.id. Regular
Suspense components with an explicit rid do not require this option.
Default
disableRequestId?
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}.