Skip to content

Commit

Permalink
change collectbase to .rum
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuntze committed Jan 10, 2025
1 parent 878dbbb commit ce1aa01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aem.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function sampleRUM(checkpoint, data) {
});

sampleRUM.baseURL = sampleRUM.baseURL || new URL(window.RUM_BASE || '/', new URL('https://rum.hlx.page'));
sampleRUM.collectBaseURL = sampleRUM.collectBaseURL || sampleRUM.baseURL;
sampleRUM.collectBaseURL = sampleRUM.collectBaseURL || new URL(window.origin);
sampleRUM.sendPing = (ck, time, pingData = {}) => {
// eslint-disable-next-line max-len, object-curly-newline
const rumData = JSON.stringify({
Expand Down

0 comments on commit ce1aa01

Please sign in to comment.