<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="/javascripts/jquery.js"></script>
  <script>
    
  // function getHeaderCategories() {
  // const queryString = window.location.search;
  // const urlParams = new URLSearchParams(queryString);
  // const userId = urlParams.get('userId');
  // const activityId = urlParams.get('activityId');
  // const senderId = urlParams.get('senderId');
  // console.log(userId);
  //   $.post("/api/invitationAccepted",{userId,activityId,senderId,accepted:0}, function (response) {
  //     console.log("RESPONSE; ", response)
  //     window.location.href = "/success"
  //   });
  // // }
  // function handleClick(){
  //   alert("CLICKED")
  //      $.get("/invitation", function (response) {
  //     console.log("RESPONSE; ", response)
  //     window.location.href = "/success"
  //   });
  // }
  </script>
</head>
<body>
    <body>
      <h1>The iframe for Istar</h1>

      <iframe src="https://<%- host %>/iframe/62d8fb0eb194356cd49bbc37" title="Ifram efo ristar" width="50%" height="500" style="border:1px solid black;">
      </iframe>
    </body>
</body>
</html>