import { type fileServer } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { ServeDirOptions } = fileServer;
Interface for serveDir options.
Properties
Serves the files under the given directory root. Defaults to your current directory.
Specified that part is stripped from the beginning of the requested pathname.
Enable CORS via the "Access-Control-Allow-Origin" header. Defaults to false.
optional
etagAlgorithm: EtagAlgorithmThe algorithm to use for generating the ETag. Defaults to "fnv1a".