Add SEO
This commit is contained in:
1 parent
2a965f375f
commit
399816afa1
7 files changed
+63
-11
No files matched your search
+3
-3
@@ -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