Open srl295 opened 9 years ago
Do you have a full code sample (or a link to a full code sample)? Can you create a pull request?
I don't have a full sample yet but this seems to work:
server2.route({path:'/x', method: 'GET', config: {cors: true}, handler: function(request,reply){reply.write('Hi');}});
docs says