<!DOCTYPE html>

<html>

<head>

  <meta charset="UTF-8">

  <title>Noti</title>

</head>

<body>

<script>

  // redirect to checkin if session exists

  const params = new URLSearchParams(window.location.search);

  const session = params.get("session");


  if (session) {

    window.location.href = "/checkin.html?session=" + session;

  } else {

    document.body.innerHTML = "<h2>Noti is running 👍</h2>";

  }

</script>

</body>

</html>