Skip to main content

Module preview

Module preview 

Source
Expand description

Local preview server for Pages exports.

Provides a local HTTP server to preview exported archives before deployment. Features:

  • Static file serving with correct MIME types
  • COOP/COEP headers for full WebCrypto functionality
  • Auto-open browser on start
  • Graceful shutdown via Ctrl+C

Structs§

PreviewConfig
Configuration for the preview server.

Enums§

PreviewError
Error type for preview server operations.

Functions§

start_preview_server
Start the preview server.