summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-24 16:50:47 -0700
committers1n <[email protected]>2019-10-24 16:50:47 -0700
commit86df7c34ae21e263031f17df10f11b0c09e5d021 (patch)
tree4b2c99af7422c98cdc05d1bfe36758aeb8c9a64d
parentmake redirect accurate and nice (diff)
downloads1n.pw-admin-86df7c34ae21e263031f17df10f11b0c09e5d021.tar.xz
s1n.pw-admin-86df7c34ae21e263031f17df10f11b0c09e5d021.zip
konami redirects to root
-rw-r--r--js/redirect-to-mobile.js4
-rw-r--r--konami/index.html2
2 files changed, 1 insertions, 5 deletions
diff --git a/js/redirect-to-mobile.js b/js/redirect-to-mobile.js
deleted file mode 100644
index ac9a41d..0000000
--- a/js/redirect-to-mobile.js
+++ /dev/null
@@ -1,4 +0,0 @@
-// CHECKS IF USER IS ON MOBILE
-if (screen.width <= 768) {
- location.href = '/m/';
-}
diff --git a/konami/index.html b/konami/index.html
index 660a78a..ebace62 100644
--- a/konami/index.html
+++ b/konami/index.html
@@ -13,7 +13,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<link rel="stylesheet" href="/konami/css/main.css">
<script src="/konami/js/main.js"></script>
- <script src="/js/redirect-to-mobile.js"></script>
+ <script src="/js/redirect-to-root.js"></script>
<meta name="description" content="s1nical is a full stack developer.">
<meta property="og:description" content="s1nical is a full stack developer.">
<meta property="og:title" content="s1nical">