import { type ServeAssetOptions } from "https://deno.land/x/cav@0.0.14/http.ts";
Options controlling how assets are found and served.
Properties
Sets the current working directory when looking for assets. If a file://
path is provided, the parent folder of the path is used. This is useful if
you want to serve assets relative to the current file using
import.meta.url
. Default: "."
The directory to serve assets from inside the cwd. This pattern encourages
keeping public asset files separated from application source code, so that
code isn't served by mistake. To use the cwd alone, specify "."
. Default:
"assets"