mirror of https://github.com/sualko/cloud_bbb
12 lines
419 B
PHP
12 lines
419 B
PHP
<?php
|
|
return [
|
|
'resources' => [
|
|
'room' => ['url' => '/rooms'],
|
|
'room_api' => ['url' => '/api/0.1/rooms']
|
|
],
|
|
'routes' => [
|
|
['name' => 'join#index', 'url' => '/{token}', 'verb' => 'GET', 'requirements' => array('token' => '\w[16,]')],
|
|
['name' => 'room_api#preflighted_cors', 'url' => '/api/0.1/{path}',
|
|
'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']]
|
|
]
|
|
]; |