mirror of
https://github.com/yldio/copilot.git
synced 2024-12-11 04:20:05 +02:00
8295bd6882
this shall be a progressive process
12 lines
230 B
JavaScript
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'));
|
|
}
|
|
});
|
|
};
|