diff --git a/modules/azerionRtdProvider.js b/modules/azerionRtdProvider.js index 8dda0aa8fb8..7479a1f2a16 100644 --- a/modules/azerionRtdProvider.js +++ b/modules/azerionRtdProvider.js @@ -34,7 +34,7 @@ function getScriptURL(config) { const VERSION = 'v1'; const key = config.params?.key; const publisherPath = key ? `${key}/` : ''; - return `https://pa.hyth.io/js/${VERSION}/${publisherPath}htpa.min.js`; + return `https://edge.hyth.io/js/${VERSION}/${publisherPath}azerion-edge.min.js`; } /** diff --git a/test/spec/modules/azerionRtdProvider_spec.js b/test/spec/modules/azerionRtdProvider_spec.js index b5d94569913..8c81e6e95fa 100644 --- a/test/spec/modules/azerionRtdProvider_spec.js +++ b/test/spec/modules/azerionRtdProvider_spec.js @@ -42,7 +42,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with default versioned url', function() { - const expected = 'https://pa.hyth.io/js/v1/htpa.min.js'; + const expected = 'https://edge.hyth.io/js/v1/azerion-edge.min.js'; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); @@ -62,7 +62,7 @@ describe('Azerion RTD submodule', function () { }); it('should load external script with publisher id url', function() { - const expected = `https://pa.hyth.io/js/v1/${key}/htpa.min.js`; + const expected = `https://edge.hyth.io/js/v1/${key}/azerion-edge.min.js`; expect(loadExternalScript.args[0][0]).to.deep.equal(expected); }); });