rootPageHandler(_:)
func rootPageHandler(_ req: Request) async throws -> View
GET /
Root page. This has a surprising number of queries. Because this page now has all the menu links, it’s important the page not fail if sub-calls fail.
-
Declaration
Swift
struct HomePageContext : Encodable