Class ConfigController

The controller class that allows to show and switch the application configuration.

Constructors

Properties

_config: SimpleConfig

The service in charge of the configuration.

_responsesBuilder: ResponsesBuilder

The service in charge or building the responses.

Methods

  • Utility to respond with the current configuration.

    Parameters

    • res: Response<any, Record<string, any>>

    Returns void