mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:15:19 +00:00
only respond at webmanifest ednpoint
This commit is contained in:
parent
559dadb023
commit
bc011f94db
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ class Manifest extends Controller
|
|||
|
||||
public function init()
|
||||
{
|
||||
if ($_REQUEST['module_format'] !== 'webmanifest') {
|
||||
http_status_exit(418, "I'm a teapot");
|
||||
}
|
||||
$ret = [
|
||||
'name' => System::get_project_name(),
|
||||
'short_name' => System::get_project_name(),
|
||||
|
|
Loading…
Reference in a new issue