Skip to content

Commit

Permalink
more reference fixes for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonnie39 committed Dec 27, 2023
1 parent 149188e commit c1734f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function displayLink(data, url) {
e.preventDefault(); // Prevent default behavior for click event
this.classList.toggle('active');
var link = this.getAttribute('data-repo-link');
window.location.href = `/repo/index.html?url=${encodeURIComponent(link)}`;
window.location.href = `https://theresonanceteam.github.io/trollapps-web/repo/index.html?url=${encodeURIComponent(link)}`;
});

// Adding the link-item-content for better organization
Expand Down
2 changes: 1 addition & 1 deletion repo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class="page-header">Apps</h1>
e.preventDefault();
this.classList.toggle('active');
var app = this.getAttribute('app-name');
window.location.href = `/repo/app-details/index.html?app=${encodeURIComponent(app)}&url=${encodeURIComponent(repoUrl)}`;
window.location.href = `https://theresonanceteam.github.io/trollapps-web/repo/app-details/index.html?app=${encodeURIComponent(app)}&url=${encodeURIComponent(repoUrl)}`;
});

const linkItemContent = document.createElement('div');
Expand Down

0 comments on commit c1734f8

Please sign in to comment.