1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-08-05 14:07:29 +03:00
parent 98e708fa01
commit e102ed0a6f
2 changed files with 1 additions and 5 deletions

View File

@ -57,8 +57,7 @@ export interface JsonApiConfig {
export class JsonApi<D = JsonApiData, P extends JsonApiParams = JsonApiParams> {
static reqInitDefault: RequestInit = {
headers: {
"content-type": "application/json",
"connection": "keep-alive"
"content-type": "application/json"
}
};

View File

@ -475,9 +475,6 @@ export class KubeApi<T extends KubeObject> {
.catch(error => {
if (error?.type === "aborted") return; // AbortController rejects, we can ignore it
console.trace();
console.error(error);
callback(null, error);
});