removed line causing serve on show route
This commit is contained in:
parent
21d88e79a3
commit
e7276e3eb4
2 changed files with 3 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
node_modules
|
node_modules
|
||||||
.idea
|
.idea
|
||||||
config/config.json
|
config/config.json
|
||||||
|
config/sequelizeCliConfig.js
|
||||||
|
config/speechConfig.js
|
|
@ -225,9 +225,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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue