Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Build a clean URL by joining baseUrl and key, stripping any trailing slashes on the base and leading slashes on the key. Prevents the triple-slash bug observed when baseUrl includes a trailing / and the key starts with /.

      Parameters

      • baseUrl: string
      • key: string

      Returns string