25 lines
965 B
HTML
25 lines
965 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Redirecting...</title>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const urlParams = new URLSearchParams(window.location.search);
|
|
const token = urlParams.get('token');
|
|
const storedToken = localStorage.getItem('accessToken');
|
|
|
|
if (token && token === storedToken) {
|
|
// Clear the token from local storage after use to ensure it's one-time use
|
|
localStorage.removeItem('accessToken');
|
|
window.location.href = 'https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190';
|
|
} else {
|
|
document.body.innerHTML = 'Access denied. Invalid or expired token.';
|
|
}
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
Redirecting...
|
|
</body>
|
|
</html>
|