Skip to main content
Module

x/static_files/src/types.ts>TOptions

Serve Static for Deno.
Latest
type alias TOptions
import { type TOptions } from "https://deno.land/x/static_files@1.1.6/src/types.ts";
definition: { maxAge?: number; index?: string; prefix?: string; fallthrough?: boolean; etag?: boolean; extensions?: string[]; acceptRanges?: boolean; cacheControl?: boolean; lastModified?: boolean; setHeaders?: (
headers: Headers,
path: string,
stats?: Deno.FileInfo,
) => void; start?: number; end?: number; immutable?: boolean; dotfiles?: boolean; brotli?: boolean; gzip?: boolean; redirect?: boolean; fetch?: boolean; }