chore: update resource base url

This commit is contained in:
Steven
2022-09-09 07:40:21 +08:00
parent b1e6956441
commit fbce43870f
4 changed files with 13 additions and 6 deletions

View File

@ -116,7 +116,7 @@ const MemoEditor = () => {
try {
const image = await resourceService.upload(file);
const url = `/h/r/${image.id}/${image.filename}`;
const url = `/o/r/${image.id}/${image.filename}`;
return url;
} catch (error: any) {
console.error(error);