2021-08-21 10:58:00 +00:00
|
|
|
<?php
|
2021-08-21 14:17:14 +00:00
|
|
|
|
2021-08-21 10:58:00 +00:00
|
|
|
return [
|
2021-08-21 14:17:14 +00:00
|
|
|
'resources' => [
|
2021-09-18 17:28:10 +00:00
|
|
|
'ticket_api' => ['url' => '/api/v1/ticket']
|
2021-08-21 14:17:14 +00:00
|
|
|
],
|
|
|
|
'routes' => [
|
|
|
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
2021-09-18 17:28:10 +00:00
|
|
|
[
|
|
|
|
'name' => 'ticket_api#preflighted_cors',
|
|
|
|
'url' => '/api/v1/{path}',
|
|
|
|
'verb' => 'OPTIONS',
|
|
|
|
'requirements' => ['path' => '.+'],
|
|
|
|
],
|
|
|
|
],
|
2021-08-21 10:58:00 +00:00
|
|
|
];
|