Page MenuHomeSealhub

index.js
No OneTemporary

index.js

// Declare internals
var internals = {};
// Plugin registration
exports.register = function (plugin, options, next) {
plugin.route({ path: '/test2', method: 'GET', handler: function (request, reply) { reply('testing123'); } });
plugin.log('test', 'abc');
return next();
};
exports.register.attributes = {
pkg: require('../package.json')
};

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 23:10 (10 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
799738
Default Alt Text
index.js (363 B)

Event Timeline