UNPKG

noide

Version:

Web Editor built on hapi and nes websockets using browserify, superviews.js, bootstrap and the ACE editor.

20 lines (18 loc) 332 B
var path = require('path') module.exports = { method: 'GET', path: '/public/{path*}', config: { handler: { directory: { path: path.resolve(__dirname, '../public'), listing: true, index: true } }, cache: { privacy: 'private', expiresIn: 60 * 1000 * 2880 } } }