• Route handler to serve static directory content (html, js, css, etc.).

    If a file resource is missing and indexFallback is set, the request will be forwarded to the base index.html (useful for SPA).

    Parameters

    • dir: string
    • indexFallback: boolean

    Returns ((e) => void)

Generated using TypeDoc