diff --git a/packages/grid_client/src/modules/tfchain.ts b/packages/grid_client/src/modules/tfchain.ts index ab14b6b533..db9d795a26 100644 --- a/packages/grid_client/src/modules/tfchain.ts +++ b/packages/grid_client/src/modules/tfchain.ts @@ -477,7 +477,7 @@ class TFChain implements blockchainInterface { }); } await ( - await client.termsAndConditions.accept({ documentLink: "https://library.threefold.me/info/legal/#/" }) + await client.termsAndConditions.accept({ documentLink: "https://manual.grid.tf/knowledge_base/legal/terms_conditions_all3.html" }) ).apply(); const ret = await (await client.twins.create({ relay })).apply(); if (disconnect) await client.disconnect(); diff --git a/packages/playground/src/weblets/profile_manager.vue b/packages/playground/src/weblets/profile_manager.vue index 8a7590b88e..2b9299cec6 100644 --- a/packages/playground/src/weblets/profile_manager.vue +++ b/packages/playground/src/weblets/profile_manager.vue @@ -857,7 +857,7 @@ function parseAcceptTermsImage(tempDiv: HTMLDivElement, url: string) { } function parseAcceptTermsLink(tempDiv: HTMLDivElement) { - const url = "https://library.threefold.me/info/legal#"; + const url = "https://manual.grid.tf/knowledge_base/legal/terms_conditions_all3.html"; const linkElements = tempDiv.querySelectorAll("a"); linkElements.forEach(linkElement => { const currentDomainMatch = linkElement.href.match(/^(https?:\/\/[^\\/]+)/); @@ -873,7 +873,7 @@ function parseAcceptTermsLink(tempDiv: HTMLDivElement) { watch(openAcceptTerms, async () => { if (openAcceptTerms.value) { try { - const url = "https://library.threefold.me/info/legal/"; + const url = "https://manual.grid.tf/knowledge_base/legal/terms_conditions_all3.html"; const response = await fetch(url + "readme.md"); const mdContent = await response.text(); const parsedContent = marked.parse(mdContent);