website serve - part-cw/lambdanative GitHub Wiki

Launches the website in the table on the specified port. A flag can be supplied to restrict the server binding to localhost, otherwise it will bind to all available IPs.

Parameter Description
table Website table
port Network port
bind 'localonly (optional)

Example

> (define db (website->table "example-website"))
> (website-serve db 8080)
#<thread #3>
⚠️ **GitHub.com Fallback** ⚠️