Hello,
I use Bitwarden on-premise and I would like to know if it possible to increase the size limit for attachement upload.
Thanks.
Hello,
I use Bitwarden on-premise and I would like to know if it possible to increase the size limit for attachement upload.
Thanks.
The 100mb limit?
Yes exactly, and I don’t think it’s possible to modify it.
I did a quick grep to see where it is set and found that
it is in
jslib/src/angular/components/attachments.component.ts
&
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs
(see below for full grep)
I was looking to fork and fix but assumed at first that it was in the server
and I don’t understand the code well enough yet.
Would have to add a parameter to the server (maybe in env) and pass that
down to the clients.
Would be good for self-hosting to be able to both raise AND lower this limit.
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs- return false;
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs- }
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs: if(FileData.Length > 104857600) // 100 MB
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs- {
mobile/src/App/Pages/Vault/AttachmentsPageViewModel.cs- await _platformUtilsService.ShowDialogAsync(AppResources.MaxFileSize,
Stale