[]previous and next page

manifestRoute

An API route handler that serves the web app manifest.

An API route handler that serves the web app manifest.

Import#

ts
import { manifestRoute } from "@shadow-js/dusk/server";

Signature#

ts
function manifestRoute(
  build: (event: RequestEvent) => Manifest | Promise<Manifest>,
  options: MetadataResponseOptions = {},
): ApiHandler

Parameters#

Name Description
build Returns the manifest.
options The response options.

Returns#

A handler.