Guides
Serving assets
In production JDesk serves your frontend over jdesk://app/ — no HTTP server.
A window's entry points at jdesk://app/. There is no localhost server in production; each platform adapter intercepts the scheme and resolves from an asset source (web/ on the classpath).
A strict CSP is set on every response:
default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:;
connect-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'
The pipeline answers Range requests with 206 Partial Content for large media. Register .assetRoute("prefix", handler) to serve Java-produced binary content directly.