mirror of https://github.com/shadowfacts/type.git
Changed to relative path
This commit is contained in:
parent
8c4d451fd7
commit
290c32c7ed
|
@ -7,8 +7,8 @@ let file = hashBits[hashBits.length - 1];
|
|||
|
||||
$("#congrats").html(`Congratulations, you've completed <code>${file}</code> in <code>${repoName}</code>!`);
|
||||
|
||||
$("#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}`;
|
||||
});
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue