Skip to content

Commit 99091d2

Browse files
authored
Update gitauth.js
1 parent 9287050 commit 99091d2

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
@@ -9,7 +9,7 @@ let githubToken, treeLoc;
99

1010
window.onload = () => {
1111

12-
githubToken = (getStorage('token') === 'undefined') ? undefined : getStorage('token');
12+
githubToken = (getStorage('token') == 'undefined') ? false : getStorage('token');
1313
treeLoc = getStorage('tree') ? getStorage('tree').split(',') : ['', '', ''];
1414

1515
const url = new URL(window.location.href);

0 commit comments

Comments
 (0)