removed line causing serve on show route

This commit is contained in:
bill bittner 2017-11-08 12:30:32 -08:00
parent 21d88e79a3
commit e7276e3eb4
2 changed files with 3 additions and 4 deletions

4
.gitignore vendored
View file

@ -1,3 +1,5 @@
node_modules
.idea
config/config.json
config/config.json
config/sequelizeCliConfig.js
config/speechConfig.js

View file

@ -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);