Add restify pre example of use on the tests

This commit is contained in:
Santi Albo
2014-03-18 09:34:39 +00:00
parent 8b0c6cab78
commit d50f5e11ef

View File

@@ -28,6 +28,8 @@ server = restify.createServer({
responseTimeFormatter : (durationInMilliseconds: number) => {}
});
server.pre(restify.pre.sanitizePath());
server.on('someEvent', ()=>{});