joyent-portal/spikes/graphs-fe/nvd3/server/routes/home.js
2016-11-08 15:34:04 +00:00

12 lines
230 B
JavaScript

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