joyent-portal/spikes/graphs-matrix/nvd3/server/routes/home.js

12 lines
230 B
JavaScript
Raw Permalink Normal View History

2016-11-10 12:43:22 +02:00
const path = require('path');
module.exports = (server) => {
server.route({
method: 'GET',
path: '/',
handler: (request, reply) => {
reply.file(path.join(__dirname, '../../static/index.html'));
}
});
};