import { serveAsset } from "https://deno.land/x/cav@0.2.0-alpha.7/examples/chat/deps.ts";
Response factory for serving static assets. Asset resolution uses the provided ServeAssetOptions, the Request is only used for caching headers like ETag etc.
Parameters
req: Request
optional
opt: ServeAssetOptions