Class ConfigurationServiceAbstract

Hierarchy (view full)

Constructors

Properties

Methods

  • Resolves the URL addresses of backend endpoints based on the provided configuration.

    If the URLs begin with either http://, or https:// the provided URL will be used.

    If not, then the URLs are considered to be relative to the location of the frontend application and it's URL will be used as the base path. /api is appended automatically.

    Returns void

  • Resolves a single URL address.

    If the URL begins with either http://, or https:// the provided URL will be used.

    If not, then the URL is considered to be relative to the location of the frontend application and it's URL will be used as the base path. /api is appended automatically.

    Parameters

    • configURL: string

      value from the configuration file

    Returns string

    the resolved URL