这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/azerionRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/azerionRtdProvider_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand All @@ -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);
});
});
Expand Down