1

I am trying to open hangout meeting link through javaScript but it's redirecting to 500 error page. but when I try to visit the same link in browser directly it's working.

I know it's sounds stupid but I am facing it.

below is my code

  joinMeeting =  () => {
            window.open(
               "https://meet.google.com/qry-gwik-ory", // when I open this link in browser it work
                '_blank' 
              );    
    }
 <button type="button" onClick={()=>{this.joinMeeting()}} className="btn-flat">Join</button>
ravi ndra
  • 21
  • 2

1 Answers1

0

I could solve this problem by opening as follows: window.open(meeting.hangoutUrl, "_blank","noreferrer"); , the noreferrer is the key.

Upesh M
  • 382
  • 1
  • 4
  • 9