Add SEO
This commit is contained in:
@ -40,9 +40,9 @@ function _get_fmt(): string {
|
||||
$type = sizeof($fmts) > 0 ? array_key_first($fmts) : null;
|
||||
if (str_contains($type, '/json')) {
|
||||
return 'json';
|
||||
} else if ($type === 'text/html') {
|
||||
return 'html';
|
||||
} else {
|
||||
} else if ($type === 'text/plain') {
|
||||
return 'text';
|
||||
} else {
|
||||
return 'html';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user