Skip to content

Commit c2c60cc

Browse files
committed
Update homepage.js
1 parent 2f41e35 commit c2c60cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homepage/homepage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ document.querySelectorAll('.btn.install').forEach(button => {
129129

130130
if (localStorage.getItem('installed')) {
131131

132-
if ((new URL('https://codeit.codes/?p').search) !== '?p') {
132+
if ((new URL(window.location.href).search) !== '?p') {
133133

134134
window.location.href = window.location.origin + '/full';
135135

0 commit comments

Comments
 (0)