Skip to main content
Module

x/texa/src/middleware/static.ts>Static.fallback

A Deno web framework inspired by Oak and Express. Built-in support for WebSockets, middleware and routing.
Latest
method Static.fallback
import { Static } from "https://deno.land/x/texa@0.8.1/src/middleware/static.ts";

A fallback incase an extension is not found on the static middleware.

Parameters

file: string

Returns

Promise<[string, string]>