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:
Julius Härtl 2023-01-05 08:10:33 +01:00
parent 18164ae516
commit dbf6f4c81b
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -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' => [
[