nextcloud-raw/appinfo/ routes.php
12 lines
387 B

  1. <?php
  2. return [
  3. 'routes' => [
  4. ['name' => 'pubPage#getByToken', 'url' => '/s/{token}', 'verb' => 'GET'],
  5. ['name' => 'pubPage#getByTokenAndPath', 'url' => '/s/{token}/{path}', 'verb' => 'GET',
  6. 'requirements' => array('path' => '.+')],
  7. ['name' => 'privatePage#getByPath', 'url' => '/files/{path}', 'verb' => 'GET',
  8. 'requirements' => array('path' => '.+')],
  9. ]
  10. ];