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 */