Skip to main content
Module

x/lume/core/site.ts>ServerOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface ServerOptions
import { type ServerOptions } from "https://deno.land/x/lume@v1.15.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