fix(api,frontend): render files by name without fetching, previewable share links

This commit is contained in:
hh committed 2026-08-13 03:49:29 +02:00
1 parent ef739838a5
commit e833de245a
13 files changed
+348 -45

No files matched your search

+1 -1
View File
@@ -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(