mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(files): Make sure that static routes on /apps/files still work
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
18164ae516
commit
dbf6f4c81b
1 changed files with 12 additions and 12 deletions
|
|
@ -57,18 +57,6 @@ $application->registerRoutes(
|
|||
'url' => '/',
|
||||
'verb' => 'GET',
|
||||
],
|
||||
[
|
||||
'name' => 'view#index',
|
||||
'url' => '/{view}',
|
||||
'verb' => 'GET',
|
||||
'postfix' => 'view',
|
||||
],
|
||||
[
|
||||
'name' => 'view#index',
|
||||
'url' => '/{view}/{fileid}',
|
||||
'verb' => 'GET',
|
||||
'postfix' => 'fileid',
|
||||
],
|
||||
[
|
||||
'name' => 'View#showFile',
|
||||
'url' => '/f/{fileid}',
|
||||
|
|
@ -147,6 +135,18 @@ $application->registerRoutes(
|
|||
'url' => '/directEditing/{token}',
|
||||
'verb' => 'GET'
|
||||
],
|
||||
[
|
||||
'name' => 'view#index',
|
||||
'url' => '/{view}',
|
||||
'verb' => 'GET',
|
||||
'postfix' => 'view',
|
||||
],
|
||||
[
|
||||
'name' => 'view#index',
|
||||
'url' => '/{view}/{fileid}',
|
||||
'verb' => 'GET',
|
||||
'postfix' => 'fileid',
|
||||
],
|
||||
],
|
||||
'ocs' => [
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in a new issue