Skip to content

Commit 4971747

Browse files
committed
Update gitauth.js
1 parent 4563cad commit 4971747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/gitauth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ window.onload = async () => {
1414
linkData = decodeLink(window.location.href);
1515

1616
// clear URL
17-
window.history.pushState(window.location.origin, 'Codeit', window.location.origin + '/full');
17+
window.history.replaceState(window.location.origin, 'Codeit', window.location.origin + '/full');
1818

1919

2020
// if treeLoc is in local storage

0 commit comments

Comments
 (0)