1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 23:50:06 +02:00
copilot/spikes/graphs-matrix/epoch/server/routes/home.js

12 lines
230 B
JavaScript
Raw Normal View History

2016-11-09 15:28:26 +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'));
}
});
};