Serve image to embedded show urls #276
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue