php: format files
This commit is contained in:
parent
d9c4653c73
commit
131f2b022e
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && $_SERVER["PATH_INFO"] === "/token")
|
||||
->init($tokenOptions)
|
||||
->setGrant($videoGrant)
|
||||
->toJwt();
|
||||
|
||||
|
||||
echo json_encode($token);
|
||||
exit();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user