diff --git a/footer.js b/footer.js index 2243ff8..d0e3c27 100644 --- a/footer.js +++ b/footer.js @@ -1,4 +1,4 @@ var footer = document.getElementsByTagName("footer")[0]; -fetch("/footer.html") +fetch("/~job/footer.html") .then(response => response.text()) .then(text => footer.innerHTML = "
" + text + "
"); \ No newline at end of file diff --git a/nav.js b/nav.js index 9b33ffb..d921b0c 100644 --- a/nav.js +++ b/nav.js @@ -1,4 +1,4 @@ var header = document.getElementsByTagName("header")[0]; -fetch("/nav.html") +fetch("/~job/nav.html") .then(response => response.text()) .then(text => header.innerHTML = text); \ No newline at end of file