mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Rename defaultSpaceBasePath to serverBasePath (#29431)
This commit is contained in:
parent
2b11d651ff
commit
8b66711501
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ export default function (kibana) {
|
|||
require: ['kibana', 'elasticsearch'],
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
uiExports: {
|
||||
injectDefaultVars: server => ({ defaultSpaceBasePath: server.config().get('server.basePath') }),
|
||||
injectDefaultVars: server => ({ serverBasePath: server.config().get('server.basePath') }),
|
||||
},
|
||||
init,
|
||||
});
|
||||
|
|
|
@ -26,7 +26,7 @@ import { typesRegistry } from './types_registry';
|
|||
import { renderFunctionsRegistry } from './render_functions_registry';
|
||||
import { visualization } from './renderers/visualization';
|
||||
|
||||
const basePath = chrome.getInjected('defaultSpaceBasePath');
|
||||
const basePath = chrome.getInjected('serverBasePath');
|
||||
|
||||
const types = {
|
||||
browserFunctions: functionsRegistry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue