Skip to main content
Module

x/frugal/dep/std/http/file_server.ts

A frugal web framework
Latest
import * as frugal from "https://deno.land/x/frugal@0.9.6/dep/std/http/file_server.ts";

Functions

Serves the files under the given directory root (opts.fsRoot).

Returns an HTTP Response with the requested file as the body.

Interfaces

Interface for serveDir options.

Interface for serveFile options.