Cell API
    Preparing search index...
    • The counterpart of serveStatic: same options, same next() when a file is not there.

      Parameters

      • assets: Map<string, EmbeddedAsset>
      • opts: ServeStaticOption & { maxAge?: number }

      Returns (req: any, res: any, next: (err?: unknown) => void, url?: string) => void