From 3bcdaa4df5aaaece34579bd29590dfda8c0c2010 Mon Sep 17 00:00:00 2001 From: Mark Storus Date: Thu, 14 Mar 2013 17:40:16 -0700 Subject: [PATCH] Revert "prevent weird redirect loop" never mind, that wasn't the problem This reverts commit f9631a1da01ae2b9b302cae4f623b0650d63ec4c. --- app.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/app.js b/app.js index 438fed6..815cf53 100644 --- a/app.js +++ b/app.js @@ -109,16 +109,11 @@ if (connect_to_stream) { }); } -var noCache = function (req, resp, next) { - resp.setHeader('Cache-Control', 'no-cache, no-store, max-age=0'); - next(); -} - -app.get('/', noCache, routes.index); -app.get('/muted', noCache, routes.index); -app.get('/channel/:channel_id', noCache, routes.index); -app.get('/return', noCache, routes.oauth_return); -app.get('/logout', noCache, routes.logout); +app.get('/', routes.index); +app.get('/muted', routes.index); +app.get('/channel/:channel_id', routes.index); +app.get('/return', routes.oauth_return); +app.get('/logout', routes.logout); app.get('/healthcheck', routes.healthcheck); app.get('/camofy-url', routes.camofy_url); app.get('/file-url', routes.file_url);