• Get the API URL for a specific environment and version

    Parameters

    • environment: "production" | "development"

      The environment to get the URL for

    • version: "v1" = 'v1'

      The API version to use (defaults to v1)

    Returns string

    The API URL for the specified environment and version