From a3e75da2ba1896c0e991af663101adbfa7780325 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sat, 19 Jan 2013 14:16:39 -0500 Subject: [PATCH] rename heavyLoad to 500 --- public/{heavyLoad.html => 500.html} | 0 src/server/index.coffee | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) rename public/{heavyLoad.html => 500.html} (100%) diff --git a/public/heavyLoad.html b/public/500.html similarity index 100% rename from public/heavyLoad.html rename to public/500.html diff --git a/src/server/index.coffee b/src/server/index.coffee index fe1331e85c..0b285acb0b 100644 --- a/src/server/index.coffee +++ b/src/server/index.coffee @@ -48,11 +48,11 @@ options = mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, -> expressApp - .use (req, res, next) -> - if toobusy() - return res.redirect 307, '/heavyLoad.html' - else - next() +# .use (req, res, next) -> +# if toobusy() +# return res.redirect 307, '/500.html' +# else +# next() .use(express.favicon()) # Gzip static files and serve from memory