mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
a81ec4f9af
commit
4f652d8110
2 changed files with 4 additions and 1 deletions
|
@ -25,6 +25,9 @@ export default function (kibana) {
|
|||
id: 'interpreter',
|
||||
require: ['kibana', 'elasticsearch'],
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
uiExports: {
|
||||
injectDefaultVars: server => ({ serverBasePath: server.config().get('server.basePath') }),
|
||||
},
|
||||
init,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ import chrome from 'ui/chrome';
|
|||
import { functionsRegistry } from './functions_registry';
|
||||
import { typesRegistry } from './types_registry';
|
||||
|
||||
const basePath = chrome.getBasePath();
|
||||
const basePath = chrome.getInjected('serverBasePath');
|
||||
|
||||
const types = {
|
||||
browserFunctions: functionsRegistry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue