GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Validates a URL before handing it to fetch(). Blocks dangerous protocols (javascript:, data:, file:, blob:, etc.).

      Parameters

      • url: unknown

        URL to validate

      Returns string

      Validated URL

      When the URL is invalid or uses a forbidden protocol