summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-07-02 18:11:17 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-07-02 18:12:08 +0200
commit217e98f75fd6774764b0ac924c6f642bff2dfb18 (patch)
tree83b9ee2fb1a8d52f9c1132ea1da2b1df52b3508d /app.js
parent991e7cf0fe0197b9ece4fdc985afb7a1c9c258a0 (diff)
downloadcollection-json-explorer-217e98f75fd6774764b0ac924c6f642bff2dfb18.tar.gz
collection-json-explorer-217e98f75fd6774764b0ac924c6f642bff2dfb18.tar.bz2
collection-json-explorer-217e98f75fd6774764b0ac924c6f642bff2dfb18.tar.xz
collection-json-explorer-217e98f75fd6774764b0ac924c6f642bff2dfb18.zip
o Adding support for queries.
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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(){