Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

responseTime middleware

  • Loading branch information...
commit aab6313851ec000973560cd3da51eb527b92f1ff 1 parent 11663d7
Pavel Lang authored October 20, 2012
1  app/index.js
@@ -48,6 +48,7 @@ function load_middleware(name, factory) {
48 48
   }
49 49
 }
50 50
 
  51
+load_middleware('responseTime');
51 52
 load_middleware('favicon');
52 53
 load_middleware('logger');
53 54
 load_middleware('bodyParser');
2  config.example.js
@@ -24,6 +24,8 @@ module.exports = {
24 24
   },
25 25
 
26 26
   middleware: {
  27
+    responseTime: true,
  28
+
27 29
     favicon: PATH('static/favicon.ico'),
28 30
 
29 31
     logger: 'dev',

0 notes on commit aab6313

Please sign in to comment.
Something went wrong with that request. Please try again.