Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.route({
- method: 'GET',
- path: '/static/{path}',
- handler: function(request,reply){
- reply.file('public/' + request.params.path);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement