Default back button in nav

I have copied url to replace old url for example https://youtube.com then replace to localhost:8080/foo/bar
when i push Screen Shot 2563-07-14 at 10.59.12 back button of nav bar will navigate to https://youtube.com
i also use pushstate:true already
thank you

Can you post relevant portions of your code here? I don’t really get the question

1 Like

A button with the class .back will always go to the previous page in history. If you want to set a new back url you have to use:

router.back(url, options)

the component was fixed that i have used instead in React

<Nav backLink="Back" >
  </Nav>
<Nav>

to

 <Nav>
    <NavRight><Link><Icon></Link> </NavRight>
    <NavTitle>
    <NavLeft>
 <Nav>

I was used that