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

    Function validateBaseUrl

    • Check a base URL (baseUrlProblem: absolute http(s), a host, no query string or fragment) and return it without trailing slashes. Throws a HaushaltValidationError, its URL shown through redactUrl.

      Parameters

      • raw: string

      Returns string