joyent-portal/spikes/metrics-service/http2/src/routes/home.js
2016-11-04 17:11:35 +00:00

12 lines
217 B
JavaScript

const path = require('path');
module.exports = (server) => {
server.route({
method: 'GET',
path: '/',
handler: (request, reply) => {
reply.file(path.join(__dirname, 'index.html'));
}
});
};