mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[PM-5214] [CLI] Add proxy support for file uploads (#7342)
* Add proxy support for file uploads Instead of using node's native fetch we extend ApiService with NodeApiService to add support for proxies using `node-fetch` * Fix constructors for FileUploadService in browser * Fix dependency on ApiService within jslib-services.module --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b046c4965d
commit
161a358c49
@@ -485,7 +485,7 @@ export class ServiceContainer {
|
||||
|
||||
this.domainSettingsService = new DefaultDomainSettingsService(this.stateProvider);
|
||||
|
||||
this.fileUploadService = new FileUploadService(this.logService);
|
||||
this.fileUploadService = new FileUploadService(this.logService, this.apiService);
|
||||
|
||||
this.sendStateProvider = new SendStateProvider(this.stateProvider);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user