From 217e98f75fd6774764b0ac924c6f642bff2dfb18 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 2 Jul 2012 18:11:17 +0200 Subject: o Adding support for queries. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 788679d..3558bca 100644 --- a/app.js +++ b/app.js @@ -17,7 +17,7 @@ app.configure(function(){ app.use(express.bodyParser()); app.use(express.methodOverride()); app.use(app.router); - app.use(express.static(__dirname + '/public')); + app.use(express.static(__dirname + '/public', {maxAge: 60 * 60 * 1000})); }); app.configure('development', function(){ -- cgit v1.2.3