Skip to main content
Module

x/cav/util.ts>assets

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

Utility for creating an Rpc handler specifically for serving static assets. The resolver's path argument is used as the asset path.

Parameters

optional
init: AssetsInit