updated for consistency

This commit is contained in:
bill bittner 2017-11-28 13:28:59 -08:00
parent 0668ef606b
commit 1734f20f01

View file

@ -109,10 +109,9 @@ module.exports = (app) => {
method = SERVE; method = SERVE;
} }
} else { } else {
method = SHOW;
if (!headers['accept'] || !headers['accept'].split(',').includes('text/html')) { if (!headers['accept'] || !headers['accept'].split(',').includes('text/html')) {
method = SERVE; method = SERVE;
} else {
method = SHOW;
} }
} }
/* patch for backwards compatability with spee.ch/name/claim_id */ /* patch for backwards compatability with spee.ch/name/claim_id */