summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authors1n <[email protected]>2019-09-12 13:20:49 -0700
committerGitHub <[email protected]>2019-09-12 13:20:49 -0700
commit094614c2dd30ec4585a1053cf36f9601b0f93405 (patch)
treefd030edcc28077781f09d91163bd92430f864349 /js
parentDelete cookies.js (diff)
downloads1n.pw-admin-094614c2dd30ec4585a1053cf36f9601b0f93405.tar.xz
s1n.pw-admin-094614c2dd30ec4585a1053cf36f9601b0f93405.zip
fix, redirect to root instead of index.html
Diffstat (limited to 'js')
-rw-r--r--js/redirect-to-desktop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/redirect-to-desktop.js b/js/redirect-to-desktop.js
index df42fa0..1530ad1 100644
--- a/js/redirect-to-desktop.js
+++ b/js/redirect-to-desktop.js
@@ -1,4 +1,4 @@
// CHECKS IF USER IS ON DESKTOP
if (screen.width > 699) {
- location.href = '/index.html';
-} \ No newline at end of file
+ location.href = '/';
+}