<- All updates

Hosting

Built-in file viewer

Deployments without an index now open in a format-specific viewer or multi-file explorer.

Released
Area
Hosting

Flat now presents deployments without a root index.html in a built-in viewer. One file opens in its matching format viewer. Multiple files open in a navigable File explorer. Exact file URLs continue to serve original bytes.

Viewer mode is enabled by default. Set it during publication with flat deploy PATH --no-viewer, or change a Deployment with flat deployment update ID --viewer or --no-viewer. API creation and update requests use the viewer boolean. Changes can take about two minutes to reach downstream caches.

Viewer adapters cover PDF, text and source code, images, browser-supported audio and video, EPUB, and spreadsheet data. Office, presentation, and LaTeX files render as PDFs on demand. Unknown files retain original open and download actions.