Skip to content

Commit

Permalink
Minor edit to function to change URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed May 2, 2024
1 parent 4716656 commit 3858778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/js/miscellaneous.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
function changeAbsoluteUrls() {
let url = window.location.href;
if (
url.startsWith('https://access-hive.org.au/development-website') ||
url.startsWith('https://access-hive.org.au/pr-preview')
url.startsWith('https://access-hive.org.au/development-website/') ||
url.startsWith('https://access-hive.org.au/pr-preview/')
) {
links=document.querySelectorAll('a[href^="/"],img[src^="/"]');
links.forEach(link => {
Expand Down

0 comments on commit 3858778

Please sign in to comment.