mirror of
https://github.com/techgaun/active-forks.git
synced 2024-12-22 13:32:14 +01:00
remove initial forward slash closes #12
This commit is contained in:
parent
42babe6ec8
commit
0eb199559e
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue