import { type ServeDirOptions } from "https://deno.land/std@0.147.0/http/file_server.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".