remove initial forward slash closes #12

This commit is contained in:
techgaun 2018-10-08 15:08:32 -05:00
parent 42babe6ec8
commit 0eb199559e
No known key found for this signature in database
GPG key ID: 8BB8C93B2167505A

View file

@ -21,7 +21,7 @@ function fetchData() {
const urlRepo = getRepoFromUrl();
if (!urlRepo || urlRepo !== repo) {
window.history.pushState('', '', `/#${repo}`);
window.history.pushState('', '', `#${repo}`);
}
if (re.test(repo)) {