I send a request using axios to http://localhost:8000/api/residence after that i show the result in my page when i want to move to another page by clicking on button i got the wrong url(current url + url of request axios) like this**(http://localhost:8080/http://127.0.0.1:8000/residence/6)** how i can fix this issue.
<div class="col-md-6 col-lg-4" v-for="r in res.data">
<div class="card-body">
<h4 class="card-title">{{r.nom}} <br></h4>
</div>
<div>
<router-link :to="'/residence/' + r.id" class="btn btn-outline-primary
btn-sm btt">Full info</router-link>
</div>
</div>
axios.get('http://127.0.0.1:8000/api/residence?page=' + page)
.then(response => {
this.res = response.data.data;
});
/in the href attribute ?href="/http://127.0.0.1:8000/residence/6".