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