csms-claims-and-neighbors/redirect.html

26 lines
721 B
HTML

<!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>
document.addEventListener('DOMContentLoaded', function() {
const urlParams = new URLSearchParams(window.location.search);
const destination = urlParams.get('dest');
if (destination === 'google') {
window.location.replace('https://bit.ly/csmsgoogle');
} else if (destination === 'gaia') {
window.location.replace('https://bit.ly/csmsgaia');
} else {
document.body.innerText = 'Invalid destination';
}
});
</script>
</head>
<body>
<p>Redirecting...</p>
</body>
</html>