Skip to content

Commit

Permalink
Fix use of legacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Jan 31, 2020
1 parent ed7703c commit be4f68c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugins/console/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ export class ConsoleServerPlugin implements Plugin<ConsoleSetup> {
const legacyConfig = readLegacyEsConfig();
return {
...elasticsearch,
hosts: legacyConfig.hosts,
requestHeadersWhitelist: legacyConfig.requestHeadersWhitelist,
customHeaders: legacyConfig.customHeaders,
...legacyConfig,
};
},
pathFilters: proxyPathFilters,
Expand Down

0 comments on commit be4f68c

Please sign in to comment.