mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
native fetch with proxy support on node api
This commit is contained in:
@@ -897,6 +897,10 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
request.headers.set('Cache-Control', 'no-cache');
|
||||
request.headers.set('Pragma', 'no-cache');
|
||||
}
|
||||
return this.nativeFetch(request);
|
||||
}
|
||||
|
||||
nativeFetch(request: Request): Promise<Response> {
|
||||
return fetch(request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user