route configuration

A list or dictionary that maps each web path to its settings or handler, such as /checkout requiring authentication.

In more detail

Each entry pairs a path such as /checkout with its settings, such as whether sign-in is required. Typing the table with const type parameters or satisfies checks every entry while keeping each exact path string.

Related terms

Taught in

References