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

    Function validateHttpUrl

    • Check a configured URL and return it unchanged, or throw a RegionalatlasValidationError (Invalid <name>: <reason>): blank, surrounding or interior whitespace or control characters, unparsable, or not http:/https:; with base: true also a query or fragment (baseUrlProblem, else httpUrlProblem). The client checks baseUrl and catalogUrl with it when it is built; the CLI's --base-url/--catalog-url parsers use the same rules.

      Parameters

      • name: string
      • value: string
      • options: { base?: boolean } = {}

      Returns string