Changed to relative path

This commit is contained in:
Daisuke Oka 2017-11-29 17:04:23 +09:00
parent 8c4d451fd7
commit 290c32c7ed
2 changed files with 3 additions and 3 deletions

View File

@ -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}`;
});

View File

@ -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) => {