Skip to content

Commit

Permalink
feat: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ekremney committed Aug 26, 2024
1 parent abe3bd5 commit d6bf314
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/support/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const { fetch } = process.env.HELIX_FETCH_FORCE_HTTP1
// weekly pageview threshold to eliminate urls with lack of samples

export async function getRUMUrl(url) {
/* c8 ignore next 1 */
const urlWithScheme = url.startsWith('http') ? url : `https://${url}`;
const resp = await fetch(urlWithScheme);
const finalUrl = resp.url.split('://')[1];
Expand Down

0 comments on commit d6bf314

Please sign in to comment.