Module

x/lume/core/site.ts>ServerOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface ServerOptions
import { type ServerOptions } from "https://dotland.deno.dev/x/lume@v1.13.2/core/site.ts";

The options to configure the local server

Properties

port: number

The port to listen on

open: boolean

To open the server in a browser

page404: string

The file to serve on 404 error

optional
middlewares: Middleware[]

Optional for the server