New desktop
This commit is contained in:
13
api/desktop.php
Normal file
13
api/desktop.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once dirname(__DIR__) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\App;
|
||||
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
|
||||
$app = new App(dirname(__DIR__));
|
||||
|
||||
echo json_encode($app->desktopPayload(), JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR);
|
||||
Reference in New Issue
Block a user