diff --git a/js/complete.js b/js/complete.js
index 8ef54f5..505f6ad 100644
--- a/js/complete.js
+++ b/js/complete.js
@@ -7,8 +7,8 @@ let file = hashBits[hashBits.length - 1];
$("#congrats").html(`Congratulations, you've completed ${file}
in ${repoName}
!`);
-$("#repo").attr("href", `/repo.html#${repo}`);
+$("#repo").attr("href", `./repo.html#${repo}`);
$("#back").click(() => {
- window.location.href = `/type.html#${hash}`;
+ window.location.href = `./type.html#${hash}`;
});
diff --git a/js/type.js b/js/type.js
index 2d4dc62..afba504 100644
--- a/js/type.js
+++ b/js/type.js
@@ -407,7 +407,7 @@ function goToNextChunk() {
});
} else {
let hash = window.location.hash;
- window.location.href = `/complete.html${hash}`;
+ window.location.href = `./complete.html${hash}`;
}
})
.catch((e) => {