From 0fcb503fa45f6cb2d9a8782b5c867f0740957576 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Sun, 20 Jan 2013 22:12:36 +0000 Subject: [PATCH] also exclude app.manifest from returning app_html --- app/server/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/server.js b/app/server/server.js index 76ab88f4ec..07da95d5be 100644 --- a/app/server/server.js +++ b/app/server/server.js @@ -123,8 +123,8 @@ var run = function () { app_html = runtime_config(app_html); app.use(function (req, res) { - // prevent favicon.ico and robots.txt from returning app_html - if (_.indexOf(['/favicon.ico', '/robots.txt'], req.url) !== -1) { + // prevent these URLs from returning app_html + if (_.indexOf(['/app.manifest', '/favicon.ico', '/robots.txt'], req.url) !== -1) { res.writeHead(404); res.end(); return;