Skip to content

Commit

Permalink
fix(avatar): auto avatar url host
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Jan 1, 2025
1 parent 990ecf7 commit 02f220c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avatar/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub async fn avatar_upload(
};
meta.users_avatar_set(
model.uid,
format!("https://jzhub.io/api/avatar/{}", path.clone()),
format!("/api/avatar/{}", path.clone()),
)
.await
.ok();
Expand Down

0 comments on commit 02f220c

Please sign in to comment.