Skip to main content
Module

x/netzo/mod.ts>ServeStaticOptions

Netzo - roll out internal tools faster
Go to Latest
interface ServeStaticOptions
import { type ServeStaticOptions } from "https://deno.land/x/netzo@v0.1.58/mod.ts";

Properties

baseUrl: string

The base to be used for the construction of absolute URL.

optional
intervene: (request: Request, response: Response) => Promise<Response> | Response

A function to modify the response before it's served to the request. For example, set appropriate content-type header.

optional
cache: boolean

Disable caching of the responses.