place.wisp.settings
Configuration settings for a static site hosted on wisp.place
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | wisp.place |
| Indexed |
Record
record · key anyProperties
cleanUrls
booleanEnable clean URL routing. When enabled, '/about' will attempt to serve '/about.html' or '/about/index.html' automatically.
default: false
custom404
stringCustom 404 error page file path. Incompatible with directoryListing and spaMode.
maxLength: 500
directoryListing
booleanEnable directory listing mode for paths that resolve to directories without an index file. Incompatible with spaMode.
default: false
headers
arrayindexFiles
arrayOrdered list of files to try when serving a directory. Defaults to ['index.html'] if not specified.
maxLength: 10
maxLength: 255
spaMode
stringFile 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
objectCustom HTTP header configuration
Properties
HTTP header name (e.g., 'Cache-Control', 'X-Frame-Options')
maxLength: 100
path
stringOptional glob pattern to apply this header to specific paths (e.g., '*.html', '/assets/*'). If not specified, applies to all paths.
maxLength: 500
HTTP header value
maxLength: 1000