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

@@ -54,7 +54,7 @@ export class EmailService {
if (!this.config.get("email.enableShareEmailRecipients"))
throw new InternalServerErrorException("Email service disabled");
const shareUrl = `${this.config.get("general.appUrl")}/share/${shareId}`;
const shareUrl = `${this.config.get("general.appUrl")}/s/${shareId}`;
await this.sendMail(
recipientEmail,
@@ -75,7 +75,7 @@ export class EmailService {
}
async sendMailToReverseShareCreator(recipientEmail: string, shareId: string) {
const shareUrl = `${this.config.get("general.appUrl")}/share/${shareId}`;
const shareUrl = `${this.config.get("general.appUrl")}/s/${shareId}`;
await this.sendMail(
recipientEmail,