Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.3/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