provide config.js
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

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

@ -109,7 +109,7 @@ export default {
},
data() {
return {
iconUrl: process.env.VUE_APP_API_URL,
iconUrl: this.apiUrl,
searchText: "",
contactContent: "",
searchResults: [],
@ -122,7 +122,7 @@ export default {
async search() {
try {
const request = await this.axios.get(
`${process.env.VUE_APP_API_URL}/${this.type}s?search=${this.searchText}`,
`${this.apiUrl}/${this.type}s?search=${this.searchText}`,
{
headers: {
Authorization: `Bearer ${localStorage.getItem("token")}`,
@ -204,4 +204,4 @@ export default {
},
},
};
</script>
</script>

View File

@ -59,8 +59,8 @@ export default {
},
data() {
return {
iconUrl: process.env.VUE_APP_API_URL
iconUrl: this.apiUrl
}
}
};
</script>
</script>