Use URL constructor to build API URLs
Created by: lguychard
Fixes #6521 (closed)
Avoids building invalid URLs when the base Sourcegraph URL has a trailing slash, across all platforms (browser extension, native integrations).
Created by: lguychard
Fixes #6521 (closed)
Avoids building invalid URLs when the base Sourcegraph URL has a trailing slash, across all platforms (browser extension, native integrations).