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

    Function validateBaseUrl

    • Check a base URL (baseUrlProblem) and return it with trailing slashes stripped, or throw a JobsucheValidationError (Invalid baseUrl: <reason>) — a configuration error, not a network one. 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