Skip to content

Commit d91b97c

Browse files
committed
updates
1 parent 1c7b748 commit d91b97c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tools/cloneit/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ CloneIt creates a new repoless site by:
1414

1515
The new site shares the same codebase (diyfire) and uses `https://content.da.live/cloudadoption/{sitename}/` as its content source.
1616

17+
**Edit in DA:** Open your site in Document Authoring at `https://da.live/edit#/cloudadoption/{sitename}`
18+
1719
## How to Use
1820

1921
1. Open the app from the AEM Sidekick (CloneIt button) or navigate to `/tools/cloneit/cloneit.html`

tools/cloneit/cloneit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function showResult(success, siteName, errorMessage, codeConfig, queryIndexCopie
116116
}
117117

118118
const siteUrl = `https://main--${siteName}--${ORG}.aem.page`;
119-
const daUrl = `https://da.live/edit#/${ORG}/${siteName}/`;
119+
const daUrl = `https://da.live/edit#/${ORG}/${siteName}`;
120120
const code = codeConfig || { owner: CODE_OWNER, repo: CODE_REPO };
121121
const githubUrl = code.source?.url || `https://github.com/${code.owner}/${code.repo}`;
122122

@@ -327,7 +327,7 @@ async function createQueryIndex(token, newSiteName, yamlContent) {
327327
function getDefaultIndexHtml(siteName) {
328328
return `<body><header></header><main>
329329
<h1>Welcome to ${siteName}</h1>
330-
<p>Your new site has been created. Edit this page in <a href="https://da.live/edit#/${ORG}/${siteName}/">Document Authoring</a>.</p>
330+
<p>Your new site has been created. Edit this page in <a href="https://da.live/edit#/${ORG}/${siteName}">Document Authoring</a>.</p>
331331
</main><footer></footer></body>`;
332332
}
333333

0 commit comments

Comments
 (0)