Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

webcat.config.json Schema

The manifest generator expects a Webcat config file (commonly webcat.config.json or a JSON equivalent) matching the schema below:

FieldTypeDescription
appstringOrigin URL of the application being packaged.
versionstringGit tag to be used for reproducibility and auditing.
default_cspstringBase Content-Security-Policy applied to all assets.
default_indexstringDefault index file served when a directory is requested; leading / is stripped automatically.
default_fallbackstringAbsolute path served when a file is missing.
wasmstring[]Optional list of base64url SHA-256 digests for inline WebAssembly modules. .wasm files are added automatically during generation.
extra_cspRecord<string, string>Optional per-path CSP overrides; keys must start with /.

Use the JSON example in the end-to-end example as a starting point and adjust fields to match your application.