1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-27 04:10:05 +02:00
copilot/legacy/spikes/architecture/react-d3/server/routes/home.js

12 lines
230 B
JavaScript
Raw Normal View History

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