remove extra word (#10682)

This commit is contained in:
Vadim Ogievetsky 2020-12-15 23:02:33 -08:00 committed by GitHub
parent 7a8e9bb156
commit 55b8cc428a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);