joyent-portal/spikes/architecture/react-d3/server/routes/static.js
Tom Gallacher 9d3903a1db Implement d3 avg rendering in react
This is an initial implement that at the moment constructs the required
SVG layout to be used by D3.
2016-12-02 11:02:58 +00:00

16 lines
314 B
JavaScript

const path = require('path');
module.exports = (server) => {
// server.route({
// method: 'GET',
// path: '/{param*}',
// handler: {
// directory: {
// path: path.join(__dirname, '../../static'),
// redirectToSlash: true,
// index: true
// }
// }
// });
};