aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-07 17:21:34 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-07 17:21:34 -0700
commite85106252ec9f4707176e299a7c42c49ccd68632 (patch)
treea1c5077d9f96a926ec2f56f7e30262e396ac13b8 /web
parent9cafcd3288430dc8c26cd0c31cafb73af8a5e229 (diff)
downloadtrackermap-web-e85106252ec9f4707176e299a7c42c49ccd68632.tar.gz
trackermap-web-e85106252ec9f4707176e299a7c42c49ccd68632.tar.bz2
trackermap-web-e85106252ec9f4707176e299a7c42c49ccd68632.zip
Make modern app the default
Diffstat (limited to 'web')
-rw-r--r--web/release.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/release.html b/web/release.html
index 82196fe7..f91a2b49 100644
--- a/web/release.html
+++ b/web/release.html
@@ -10,7 +10,8 @@
</head>
<body>
<div id="spinner"></div>
-<div id="update">Preview <a href="/modern/">modern interface</a></div>
+<script>localStorage.getItem('legacyApp') || location.replace('/modern/');</script>
+<div id="update"><a href="javascript:localStorage.removeItem('legacyApp') || location.replace('/modern/');">Switch to Modern App</a></div>
<div id="attribution">Powered by <a href="https://www.traccar.org/" target="_blank">Traccar GPS Tracking System</a></div>
<script id="loadScript" src="load.js"></script>
</body>