Open graph #132
1 changed files with 1 additions and 5 deletions
|
@ -92,13 +92,9 @@ module.exports = (app) => {
|
|||
} else {
|
||||
method = SERVE;
|
||||
}
|
||||
} else {
|
||||
if (headers['accept'] && !headers['accept'].split(',').includes('text/html')) {
|
||||
method = SERVE;
|
||||
} else {
|
||||
method = SHOW;
|
||||
}
|
||||
}
|
||||
/* start: temporary patch for backwards compatability spee.ch/name/claim_id */
|
||||
if (isValidShortUrlOrClaimId(name) && !isValidShortUrlOrClaimId(identifier)) {
|
||||
let tempName = name;
|
||||
|
|
Loading…
Reference in a new issue