Skip to main content
Module

x/netzo/mod.ts>ServeStaticOptions

SDK for Netzo, the open platform to instantly deploy JavaScript and TypeScript to URL endpoints, connect essential APIs, automate business processes and build internal tools faster, without managing servers.
Popular
Go to Latest
interface ServeStaticOptions
import { type ServeStaticOptions } from "https://deno.land/x/netzo@v0.1.46/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.