Skip to main content
Module

x/cav/endpoint.ts>assets

A server framework for Deno
Go to Latest
function assets
import { assets } from "https://deno.land/x/cav@0.2.0-alpha.7/endpoint.ts";

Creates an Endpoint for serving static assets. The routed request path will be used to find the asset to serve from inside the assets directory specified.

Parameters

optional
init: AssetsInit