@maschinenlesbar.org/ausbildungssuche-cli
    Preparing search index...

    Function validateBaseUrl

    • Check a base URL (baseUrlProblem) and return it with trailing slashes stripped, or throw an AusbildungValidationError (Invalid baseUrl: <reason>). The default transport still gates the scheme on every hop (redirects included); this gate covers a library consumer's custom transport, which does no such check.

      Parameters

      • raw: string

      Returns string