From 1734f20f019d4873c8b453e55b46d7a1a1f15b1c Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 28 Nov 2017 13:28:59 -0800 Subject: [PATCH] updated for consistency --- routes/serve-routes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/serve-routes.js b/routes/serve-routes.js index cf54d19c..eef33f93 100644 --- a/routes/serve-routes.js +++ b/routes/serve-routes.js @@ -109,10 +109,9 @@ module.exports = (app) => { method = SERVE; } } else { + method = SHOW; if (!headers['accept'] || !headers['accept'].split(',').includes('text/html')) { method = SERVE; - } else { - method = SHOW; } } /* patch for backwards compatability with spee.ch/name/claim_id */