Fixed api endpoints
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 54s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 54s
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user