kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
17 lines (13 loc) • 395 B
JavaScript
import HapiTemplates from 'vision';
import HapiStaticFiles from 'inert';
import HapiProxy from 'h2o2';
import { fromNode } from 'bluebird';
const plugins = [HapiTemplates, HapiStaticFiles, HapiProxy];
async function registerPlugins(server) {
await fromNode(cb => {
server.register(plugins, cb);
});
}
export default function (kbnServer, server, config) {
registerPlugins(server);
}