9d3903a1db
This is an initial implement that at the moment constructs the required SVG layout to be used by D3.
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'));
|
|
}
|
|
});
|
|
};
|