Skip to main content
Module

x/cav/asset.ts>ServeAssetOptions

A server framework for Deno
Go to Latest
interface ServeAssetOptions
implements AssetsLocation
import { type ServeAssetOptions } from "https://deno.land/x/cav@0.2.0-alpha.7/asset.ts";

Options controlling how assets are found and served.

Properties

optional
path: string

The path of the file to serve inside the assets directory. If this isn't provided, the routed path from the RouterContext associated with the request will be used.