Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Logging Out...</title> | |
<script type="text/javascript"> | |
// Function to get query parameter value from URL | |
function getQueryParam(param) { | |
let urlParams = new URLSearchParams(window.location.search); | |
return urlParams.get(param); | |
} | |
window.onload = function() { | |
// Get table number from the URL | |
let tableNumber = getQueryParam("table"); | |
// Construct the logout redirect URL with table number | |
let redirectURL = "https://biryanihub-dev-ed.develop.my.salesforce-sites.com/"; | |
if (tableNumber) { | |
redirectURL += "?table=" + encodeURIComponent(tableNumber); | |
} | |
// Open the new page with the table number | |
window.open(redirectURL, "_blank"); | |
// Optionally, also redirect the current tab: | |
// window.location.href = redirectURL; | |
}; | |
</script> | |
</head> | |
<body> | |
<h1>Logging out...</h1> | |
<p>Please wait while we log you out and redirect you.</p> | |
</body> | |
</html> | |