From fb0c4398799880bf8970aba6c53606aa916bb602 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 23 Nov 2011 22:01:22 -0500 Subject: [PATCH] temporarily remove staticCache --- server.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.js b/server.js index 2b9beac..caab64e 100644 --- a/server.js +++ b/server.js @@ -73,7 +73,6 @@ connect.createServer( }); }), // Otherwise, static - connect.staticCache(), connect.static(__dirname + '/static', { maxAge: config.staticMaxAge }), // Then we can loop back - and everything else should be a token, // so route it back to /index.html @@ -84,7 +83,6 @@ connect.createServer( }); }), // And then let static take over - connect.staticCache(), connect.static(__dirname + '/static', { maxAge: config.staticMaxAge }) ).listen(config.port, config.host);