place.wisp.settings

Configuration settings for a static site hosted on wisp.place

Repository @wisp.place did:plc:7puq73yz2hkvbcpdhnsze2qw namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritywisp.place
Indexed

Record

record · key any

Properties

cleanUrls

boolean

Enable clean URL routing. When enabled, '/about' will attempt to serve '/about.html' or '/about/index.html' automatically.

  • default: false

custom404

string

Custom 404 error page file path. Incompatible with directoryListing and spaMode.

  • maxLength: 500

Enable directory listing mode for paths that resolve to directories without an index file. Incompatible with spaMode.

  • default: false

headers

array

Custom HTTP headers to set on responses

  • maxLength: 50
itemsref
Reference

Ordered list of files to try when serving a directory. Defaults to ['index.html'] if not specified.

  • maxLength: 10
itemsstring
  • maxLength: 255

spaMode

string

File to serve for all routes (e.g., 'index.html'). When set, enables SPA mode where all non-file requests are routed to this file. Incompatible with directoryListing and custom404.

  • maxLength: 500

#customHeader

object

Custom HTTP header configuration

Properties

name

requiredstring

HTTP header name (e.g., 'Cache-Control', 'X-Frame-Options')

  • maxLength: 100

path

string

Optional glob pattern to apply this header to specific paths (e.g., '*.html', '/assets/*'). If not specified, applies to all paths.

  • maxLength: 500

value

requiredstring

HTTP header value

  • maxLength: 1000