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