mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Upload to Azure strorage blobs (#296)
* Implemen AzureStorageService handes uploading files to azure blob * Correct one-shot size * Add azureStorage.service abstraction * Rename azure upload method * Prefer abstractions in DI * Abstract file upload to a single service handling uploads * Fallback to legacy upload method * Linter fix * Limit legacy upload to 404 error
This commit is contained in:
@@ -260,11 +260,6 @@ export class AddEditComponent implements OnInit {
|
||||
}
|
||||
|
||||
file = files[0];
|
||||
if (file.size > 104857600) { // 100 MB
|
||||
this.platformUtilsService.showToast('error', this.i18nService.t('errorOccurred'),
|
||||
this.i18nService.t('maxFileSize'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.editMode) {
|
||||
|
||||
Reference in New Issue
Block a user