fix: delete tag api (#950)

* fix: delete tag api

* chore: update
This commit is contained in:
boojack
2023-01-14 12:08:31 +08:00
committed by GitHub
parent 677750ef51
commit fae0b64a08
7 changed files with 20 additions and 17 deletions

View File

@ -0,0 +1,3 @@
export const getResourceUrl = (resource: Resource, withOrigin = true) => {
return `${withOrigin ? window.location.origin : ""}/o/r/${resource.id}/${encodeURI(resource.filename)}`;
};