Skip to main content
Module

x/cav/deps.ts>fileServer

A server framework for Deno
Go to Latest
namespace fileServer
import { fileServer } from "https://deno.land/x/cav@0.0.21/deps.ts";

Functions

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

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