kibana-with-account
Version:
kibana-with-account is develop based kibana project
26 lines (15 loc) • 392 B
JavaScript
var Hoek = require('hoek');
exports.register = function (server, options, next) {
options = Hoek.applyToDefaults({basePath: ''}, options);
server.route({
method: 'GET',
path: options.basePath + '/',
handler: function (request, reply) {
reply({message: 'Welcome to the plot device.'});
}
});
next();
};
exports.register.attributes = {
name: 'home'
};