From 55b8cc428a6f06a23d71c21a415fbd87df7cab21 Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Tue, 15 Dec 2020 23:02:33 -0800 Subject: [PATCH] remove extra word (#10682) --- web-console/src/entry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-console/src/entry.ts b/web-console/src/entry.ts index 45a6d5e4b03..abe28c8300e 100644 --- a/web-console/src/entry.ts +++ b/web-console/src/entry.ts @@ -73,7 +73,7 @@ if (consoleConfig.baseURL) { UrlBaser.baseUrl = consoleConfig.baseURL; } if (consoleConfig.customHeaderName && consoleConfig.customHeaderValue) { - apiConfig.headers.common[consoleConfig.customHeaderName] = consoleConfig.customHeaderValue; + apiConfig.headers[consoleConfig.customHeaderName] = consoleConfig.customHeaderValue; } if (consoleConfig.customHeaders) { Object.assign(apiConfig.headers, consoleConfig.customHeaders);