provide config.js

This commit is contained in:
2021-07-28 21:52:12 +02:00
parent e7730020ef
commit 6bd794ad6b
12 changed files with 40 additions and 26 deletions

View File

@ -44,7 +44,7 @@ export default {
async created() {
try {
const userProfile = await this.axios.get(
`${process.env.VUE_APP_API_URL}/users/${this.$route.params.memberId}/profile`,
`${this.apiUrl}/users/${this.$route.params.memberId}/profile`,
{
headers: { Authorization: `Bearer ${localStorage.getItem("token")}` },
}
@ -55,4 +55,4 @@ export default {
}
},
};
</script>
</script>