updated for consistency
This commit is contained in:
parent
0668ef606b
commit
1734f20f01
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue