import { type ServeDirOptions } from "https://deno.land/x/frugal@0.5.0/docs/dep/std/http.ts";
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".