diff --git a/client/src/app/site/pages/meetings/pages/motions/services/export/motion-pdf.service/motion-pdf.service.ts b/client/src/app/site/pages/meetings/pages/motions/services/export/motion-pdf.service/motion-pdf.service.ts index 14c18d1d25..187cebfa43 100644 --- a/client/src/app/site/pages/meetings/pages/motions/services/export/motion-pdf.service/motion-pdf.service.ts +++ b/client/src/app/site/pages/meetings/pages/motions/services/export/motion-pdf.service/motion-pdf.service.ts @@ -740,7 +740,10 @@ export class MotionPdfService { private createAttachments(motion: ViewMotion): object { let width = this.pdfDocumentService.pageSize === `A5` ? PDF_A5_POINTS_WIDTH : PDF_A4_POINTS_WIDTH; width = width - this.pdfDocumentService.pageMarginPointsLeft - this.pdfDocumentService.pageMarginPointsRight; - const instancUrl = this.organizationSettingsService.instant(`url`); + let instancUrl = this.organizationSettingsService.instant(`url`); + if (instancUrl.endsWith(`/`)) { + instancUrl = instancUrl.slice(0, -1); + } const attachments = []; attachments.push({