1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Removing duplicate / from sharing link in settings #593

This commit is contained in:
Patrik J. Braun 2023-02-27 08:25:05 +01:00
parent b6a72af3c7
commit a3f7f200a9

View File

@ -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();