feat: simplify public shares and add compact link management

This commit is contained in:
SantaSpeen committed 2026-10-22 00:58:05 +03:00
1 parent 5dda0dc5f3
commit 7fc7465f71
15 files changed
+417 -273

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export async function fetch(url: string, password: string = "") {
);
const data = (await res.json()) as Resource;
data.url = `/share${url}`;
data.url = `/s${url}`;
if (data.isDir) {
if (!data.url.endsWith("/")) data.url += "/";