Pudu programming language
Menu
API reference

Std.Site.vercelConfig

1 declaration

fn

vercelConfig: Option[Str] -> Bool -> &Array[Std.Site.Route] -> Str

The routing a host that reads a Build Output configuration needs: the declared routes (redirects, headers, then those sent to the function), files, any page by its directory, then the fallback function or the site's 404.html. Derived from the layout rather than from a list of pages, so a page added later needs no new route. A ToFunction route without a fallback function has nowhere to go and is left out.

Back to Std.SiteSearch related declarations