//! Single-page application fallback service.
//!
//! Serves static files from a directory with a fallback to `index.html` for
//! client-side routing, and sets `Cache-Control: no-store` so the browser
//! always fetches fresh content during development.
use ;
use ;
/// Build a service that serves static files from `frontend_path` with an
/// `index.html` fallback and no-cache headers.
///
/// Use as `Router::fallback_service(spa_service(&path))`.