Skip to content

Commit

Permalink
removed base url from images
Browse files Browse the repository at this point in the history
  • Loading branch information
philippspinnler committed Dec 2, 2024
1 parent 6805902 commit c2c5a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ new Vue({

const getImages = async () => {
const response = await axios.get(`${baseUrl}/album`)
this.image = baseUrl + response.data.images[Math.floor(Math.random() * response.data.images.length)]
this.image = response.data.images[Math.floor(Math.random() * response.data.images.length)]
}

const transistionStepSpeed = 50;
Expand Down

0 comments on commit c2c5a55

Please sign in to comment.