Skip to main content
Module

x/cav/mod.ts>serveAsset

A server framework for Deno
Go to Latest
function serveAsset
Re-export
import { serveAsset } from "https://deno.land/x/cav@0.2.0-alpha.7/mod.ts";

Response factory for serving static assets. Asset resolution uses the provided ServeAssetOptions, the Request is only used for caching headers like ETag etc.