feat: simplify public shares and add compact link management
This commit is contained in:
1 parent
5dda0dc5f3
commit
7fc7465f71
15 files changed
+417
-273
No files matched your search
@@ -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 += "/";
|
||||
|
||||
Reference in new issue
Block a user