file-upload.service.ts edited online with Bitbucket

This commit is contained in:
Timo Bejan 2021-07-09 12:05:17 +02:00
parent f0b9867746
commit 6245e62e96

View File

@ -33,7 +33,8 @@ export class FileUploadService {
private readonly _uploadControllerService: UploadControllerService,
private readonly _dialogService: UploadDownloadDialogService
) {
this._uploadControllerService.defaultHeaders = this._uploadControllerService.defaultHeaders.append('ngsw-bypass', 'true' );
this._uploadControllerService.defaultHeaders =
this._uploadControllerService.defaultHeaders.append('ngsw-bypass', 'true' );
interval(2500).subscribe(() => {
this._handleUploads();
});