Optional
Configures the server to serve static files from a specified folder. Automatically handles fallback routing for Single Page Applications (SPA).
The absolute path to the directory containing static files.
The prefix used for API routes (ignored by SPA fallback).
Configures the server to serve static files from a specified folder. Automatically handles fallback routing for Single Page Applications (SPA).