runtime-config

Client-side routes currently permitted

Changed on

An allow-list. The client enables a route only when its name is present, so a missing key, an empty array, a wrong type, a non-2xx or an unreachable server all disable every route. Response must never be shared-cached (Cache-Control: private, no-store).

get/runtime-config

Request

Response

The permitted routes

enabledRoutesRuntimeRoute[] required

Client-side routes the client is permitted to use. An allow-list: a route absent from this array is off, and so is every route when this response cannot be read at all.

Example response

{
  "enabledRoutes": [
    "lifi",
    "lifiBridge"
  ]
}

Changes