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