summaryrefslogtreecommitdiff
path: root/wolf3d/js
diff options
context:
space:
mode:
Diffstat (limited to 'wolf3d/js')
-rw-r--r--wolf3d/js/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/wolf3d/js/main.js b/wolf3d/js/main.js
new file mode 100644
index 0000000..5807029
--- /dev/null
+++ b/wolf3d/js/main.js
@@ -0,0 +1,4 @@
+// CHECKS IF USER IS ON MOBILE
+if (screen.width <= 480) {
+ location.href = '/mobile';
+} \ No newline at end of file