Skip to content

Commit

Permalink
update legal url from library to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik-TF committed Dec 2, 2024
1 parent d5a14ff commit 41b7c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playground/src/weblets/profile_manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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?:\/\/[^\\/]+)/);
Expand All @@ -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);
Expand Down

0 comments on commit 41b7c9a

Please sign in to comment.