Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.0-alpha.4/deps.ts";

Functions

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

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