From e7276e3eb4a222d620576fc3bf51328cff2e7d67 Mon Sep 17 00:00:00 2001
From: bill bittner <bittner.w@gmail.com>
Date: Wed, 8 Nov 2017 12:30:32 -0800
Subject: [PATCH] removed line causing serve on show route

---
 .gitignore             | 4 +++-
 routes/serve-routes.js | 3 ---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index 761ac590..a45e5a85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 node_modules
 .idea
-config/config.json
\ No newline at end of file
+config/config.json
+config/sequelizeCliConfig.js
+config/speechConfig.js
\ No newline at end of file
diff --git a/routes/serve-routes.js b/routes/serve-routes.js
index 2e2ea652..c0bd9a8a 100644
--- a/routes/serve-routes.js
+++ b/routes/serve-routes.js
@@ -225,9 +225,6 @@ module.exports = (app) => {
         logger.debug('file extension =', fileExtension);
       } else {
         method = SHOW;
-        if (headers['accept'] && !headers['accept'].split(',').includes('text/html')) {
-          method = SERVE;
-        }
       }
       logger.debug('claim name = ', name);
       logger.debug('method =', method);