Merge pull request #252 from lbryio/meta-tags-for-vanity-urls

removed line causing serve on show route
This commit is contained in:
Bill Bittner 2017-11-08 15:58:34 -08:00 committed by GitHub
commit 5e66ed6db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,9 +227,6 @@ module.exports = (app) => {
logger.debug('file extension =', fileExtension); logger.debug('file extension =', fileExtension);
} else { } else {
method = SHOW; method = SHOW;
if (headers['accept'] && !headers['accept'].split(',').includes('text/html')) {
method = SERVE;
}
} }
logger.debug('claim name = ', name); logger.debug('claim name = ', name);
logger.debug('method =', method); logger.debug('method =', method);