mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update resource base url
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user