InAppBrowser error passing the whole path of android system or localhost



    <button ion-button clear small color="primary" icon-left (click)="goToCompanyWebsite(">
      <ion-icon name="cloud-circle"></ion-icon>


      console.log(website)      ///////
      new InAppBrowser(website, '_blank');

When I click on the button while test , it open a new web page however, it includes the localhost path as well localhost:8100/ and this leads to error.
Also I tried testing it on android phone , and this is what I get


how to fix this problem, thanx


found the problem… it should be new InAppBrowser(https://${website}, ‘_blank’)