Module

x/abc/app.ts>Application#file

A better Deno framework to create web application.
Go to Latest
method Application.prototype.file
import { Application } from "https://dotland.deno.dev/x/abc@v1.0.3/app.ts";

file registers a new route with path to serve a static file with optional route-level middleware.

Parameters

path: string
filepath: string