Nextcloud-App/appinfo/routes.php

17 lines
311 B
PHP
Raw Normal View History

2021-08-21 10:58:00 +00:00
<?php
2021-08-21 10:58:00 +00:00
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' => '.+'],
],
],
2021-08-21 10:58:00 +00:00
];