diff --git a/test/unit/ew-setup/utils.test.js b/test/unit/ew-setup/utils.test.js index c82e575..da739fc 100644 --- a/test/unit/ew-setup/utils.test.js +++ b/test/unit/ew-setup/utils.test.js @@ -99,7 +99,7 @@ describe('buildConfigWithEwEnabled', () => { }); describe('hasCorrectSidekickConfig', () => { - const PATTERN = 'https://da.live/#/{{org}}/{{site}}{{pathname}}'; + const PATTERN = 'https://da.live/canvas#/{{org}}/{{site}}{{pathname}}'; it('returns true when editUrlPattern matches', () => { expect(hasCorrectSidekickConfig({ editUrlPattern: PATTERN })).to.be.true; }); @@ -115,7 +115,7 @@ describe('hasCorrectSidekickConfig', () => { }); describe('buildUpdatedSidekickConfig', () => { - const PATTERN = 'https://da.live/#/{{org}}/{{site}}{{pathname}}'; + const PATTERN = 'https://da.live/canvas#/{{org}}/{{site}}{{pathname}}'; it('creates bare minimum config when existingJson is null', () => { const result = buildUpdatedSidekickConfig(null); expect(result).to.deep.equal({ project: 'Experience Workspace Project', editUrlPattern: PATTERN }); diff --git a/tools/ew-setup/ew-setup.js b/tools/ew-setup/ew-setup.js index 9224587..2a964c9 100644 --- a/tools/ew-setup/ew-setup.js +++ b/tools/ew-setup/ew-setup.js @@ -354,7 +354,7 @@ class EwSetupApp extends LitElement { } _renderStep2() { - const editUrlPattern = 'https://da.live/#/{{org}}/{{site}}{{pathname}}'; + const editUrlPattern = 'https://da.live/canvas#/{{org}}/{{site}}{{pathname}}'; if (this._sidekickStatus === 'loading') { return html` diff --git a/tools/ew-setup/utils.js b/tools/ew-setup/utils.js index 1d2f040..3b53701 100644 --- a/tools/ew-setup/utils.js +++ b/tools/ew-setup/utils.js @@ -26,7 +26,7 @@ export function buildConfigWithEwEnabled(existingJson) { return result; } -const SIDEKICK_EDIT_URL = 'https://da.live/#/{{org}}/{{site}}{{pathname}}'; +const SIDEKICK_EDIT_URL = 'https://da.live/canvas#/{{org}}/{{site}}{{pathname}}'; export function hasCorrectSidekickConfig(json) { return json?.editUrlPattern === SIDEKICK_EDIT_URL;