File size: 704 Bytes
aaaaa79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Redirecting...</title>
    <script>
        // Check for authentication token
        const authToken = localStorage.getItem('auth_token');
        if (authToken) {
            // If token exists, redirect to dashboard
            window.location.href = '/dashboard.html';
        } else {
            // If no token, redirect to authentication page
            window.location.href = '/auth.html';
        }
    </script>
</head>
<body>
    <p>If you are not redirected automatically, please <a href="/auth.html">click here</a>.</p>
</body>
</html>