bug: typo in avatar path

This commit is contained in:
Kieran 2023-01-26 14:47:59 +00:00
parent 39fbe3b10f
commit aee51a1a4c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -87,7 +87,7 @@ export default function ProfileSettings() {
async function setNewAvatar() {
const rsp = await uploadFile();
if (rsp) {
setPicture(rsp.meta?.url ?? `${VoidCatHost}d/${rsp.id}`);
setPicture(rsp.meta?.url ?? `${VoidCatHost}/d/${rsp.id}`);
}
}