From a3f7f200a9e692277d49d77ec8b0714a1f83ce3c Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 27 Feb 2023 08:25:05 +0100 Subject: [PATCH] Removing duplicate / from sharing link in settings #593 --- .../app/ui/settings/sharings-list/sharings-list.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/app/ui/settings/sharings-list/sharings-list.component.ts b/src/frontend/app/ui/settings/sharings-list/sharings-list.component.ts index 8eab78a1..c55200c2 100644 --- a/src/frontend/app/ui/settings/sharings-list/sharings-list.component.ts +++ b/src/frontend/app/ui/settings/sharings-list/sharings-list.component.ts @@ -3,6 +3,7 @@ import {SharingDTO} from '../../../../../common/entities/SharingDTO'; import {SharingListService} from './sharing-list.service'; import {SettingsService} from '../settings.service'; import {Config} from '../../../../../common/config/public/Config'; +import {Utils} from '../../../../../common/Utils'; @Component({ selector: 'app-settigns-sharings-list', @@ -16,7 +17,8 @@ export class SharingsListComponent implements OnInit { constructor(public sharingList: SharingListService, private settingsService: SettingsService) { } - sharingUrl = Config.Server.publicUrl + '/share/'; + + sharingUrl = Utils.concatUrls(Config.Server.publicUrl, '/share/'); ngOnInit(): void { this.getSharingList();