Fixed api endpoints
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 54s

This commit is contained in:
2026-05-02 16:53:15 +02:00
parent ee553eae82
commit b0509818b2
3 changed files with 7 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ function retrieveAvatar(){
Server().get('/user/retrieve-avatar?username=' + GetUser().username)
.then((response) => {
if(response.data.image){
const imgUrl = backendUrl + "public/" + response.data.image;
const imgUrl = backendUrl + "/public/" + response.data.image;
// Wait for the image to fully load
const img = new Image();