diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-16 11:33:39 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-12-02 14:28:30 +0300 |
commit | baa11f406390cca2a890c16bf1cf0b404b2fc700 (patch) | |
tree | 4e3d7eb0b39fb23650f89c56e93432041527e272 /appinfo | |
parent | 2dee8b69ce453e7bc0ebcec28cf375f7742d75d8 (diff) |
Start with direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 2 | ||||
-rw-r--r-- | appinfo/routes.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 85ed0d5af..4913f8aa4 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -38,3 +38,5 @@ $eventDispatcher->addListener('OCA\Files_Sharing::loadAdditionalScripts', functi \OCP\Util::addScript('text', 'public'); \OCP\Util::addStyle('text', 'icons'); }); + +$app = \OC::$server->query(Application::class); diff --git a/appinfo/routes.php b/appinfo/routes.php index 12c8330a1..903fdb95b 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -37,6 +37,7 @@ return [ ['name' => 'PublicSession#fetch', 'url' => '/public/session/fetch', 'verb' => 'GET'], ['name' => 'PublicSession#sync', 'url' => '/public/session/sync', 'verb' => 'POST'], ['name' => 'PublicSession#push', 'url' => '/public/session/push', 'verb' => 'POST'], + ['name' => 'PublicSession#close', 'url' => '/public/session/close', 'verb' => 'GET'], ], 'ocs' => [ |