Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/examples/chat/deps.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/examples/chat/deps.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