Variable configControllerConst

configController: Resource<"controller", "connect", ControllerConnectFn> = ...

This controller is kind of special as it will only mount the routes if the debug.configController setting of the app configuration is set to true.

It provides routes for:

  • /: Showing the current configuration.
  • /switch/:name: Switching the configuration, but only if the service allows it.