fix(api,frontend): render files by name without fetching, previewable share links
This commit is contained in:
1 parent
ef739838a5
commit
e833de245a
13 files changed
+348
-45
No files matched your search
@@ -97,7 +97,7 @@ export function shareUrl(share: FileShare): string {
|
||||
typeof window === "undefined"
|
||||
? ""
|
||||
: window.location.origin.replace(TRAILING_SLASH, "");
|
||||
return `${origin}/f/${share.token}`;
|
||||
return `${origin}/f/${share.token}/${share.url_name}`;
|
||||
}
|
||||
|
||||
export function shareState(
|
||||
|
||||
Reference in new issue
Block a user