engine/request/spa

SPA dev proxy and production fallback handling. Engine-internal.
Description:
  • SPA dev proxy and production fallback handling. Engine-internal.

Methods

(inner) handleSpa() → {object}

Description:
  • Handle SPA when no script target matched.
Returns:
`{ handled: boolean, filePath: string|undefined }` — handled=true means response already sent (or handed to proxy). filePath set means treat as static asset under SPA build path.
Type
object