feat: add share url alias /s

This commit is contained in:
Elias Schneider
2023-07-22 16:09:10 +02:00
parent 7827b687fa
commit 231a2e95b9
9 changed files with 27 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ const showShareInformationsModal = (
maxShareSize: number
) => {
const t = translateOutsideContext();
const link = `${appUrl}/share/${share.id}`;
const link = `${appUrl}/s/${share.id}`;
let shareSize: number = 0;
for (let file of share.files as FileMetaData[])

View File

@@ -8,7 +8,7 @@ const showShareLinkModal = (
appUrl: string
) => {
const t = translateOutsideContext();
const link = `${appUrl}/share/${shareId}`;
const link = `${appUrl}/s/${shareId}`;
return modals.openModal({
title: t("account.shares.modal.share-link"),
children: (