php: format files

This commit is contained in:
pabloFuente 2024-05-10 14:49:42 +02:00
parent d9c4653c73
commit 131f2b022e
2 changed files with 20 additions and 20 deletions

View File

@ -1,22 +1,22 @@
{
"name": "openvidu/basic-php",
"description": "Basic server application built for PHP",
"type": "project",
"require": {
"vlucas/phpdotenv": "^5.6",
"agence104/livekit-server-sdk": "^1.2"
},
"authors": [
{
"name": "openvidu"
}
],
"config": {
"allow-plugins": {
"php-http/discovery": true
}
},
"scripts": {
"start": "php -S localhost:6080"
"name": "openvidu/basic-php",
"description": "Basic server application built for PHP",
"type": "project",
"require": {
"vlucas/phpdotenv": "^5.6",
"agence104/livekit-server-sdk": "^1.2"
},
"authors": [
{
"name": "openvidu"
}
],
"config": {
"allow-plugins": {
"php-http/discovery": true
}
},
"scripts": {
"start": "php -S localhost:6080"
}
}

View File

@ -38,7 +38,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && $_SERVER["PATH_INFO"] === "/token")
->init($tokenOptions)
->setGrant($videoGrant)
->toJwt();
echo json_encode($token);
exit();
}