Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core.ts>ServerOptions

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