17 lines
313 B
PHP
17 lines
313 B
PHP
<?php
|
|
|
|
return [
|
|
'resources' => [
|
|
'ticket_api' => ['url' => '/api/v1/tickets']
|
|
],
|
|
'routes' => [
|
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
|
[
|
|
'name' => 'ticket_api#preflighted_cors',
|
|
'url' => '/api/v1/tickets',
|
|
'verb' => 'OPTIONS',
|
|
'requirements' => ['path' => '.+'],
|
|
],
|
|
],
|
|
];
|