mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove resource public id (#1912)
* chore: remove resource public id * chore: update
This commit is contained in:
@ -3,5 +3,5 @@ export const getResourceUrl = (resource: Resource, withOrigin = true) => {
|
||||
return resource.externalLink;
|
||||
}
|
||||
|
||||
return `${withOrigin ? window.location.origin : ""}/o/r/${resource.id}/${resource.publicId}/${encodeURIComponent(resource.filename)}`;
|
||||
return `${withOrigin ? window.location.origin : ""}/o/r/${resource.id}`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user