diff options
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/routes.php b/core/routes.php index d357fd45f96..eb6db1046fb 100644 --- a/core/routes.php +++ b/core/routes.php @@ -46,6 +46,7 @@ $application->registerRoutes($this, [ ['name' => 'avatar#postCroppedAvatar', 'url' => '/avatar/cropped', 'verb' => 'POST'], ['name' => 'avatar#getTmpAvatar', 'url' => '/avatar/tmp', 'verb' => 'GET'], ['name' => 'avatar#postAvatar', 'url' => '/avatar/', 'verb' => 'POST'], + ['name' => 'CSRFToken#index', 'url' => '/csrftoken', 'verb' => 'GET'], ['name' => 'login#tryLogin', 'url' => '/login', 'verb' => 'POST'], ['name' => 'login#confirmPassword', 'url' => '/login/confirm', 'verb' => 'POST'], ['name' => 'login#showLoginForm', 'url' => '/login', 'verb' => 'GET'], @@ -148,8 +149,3 @@ $this->create('files_sharing.publicpreview.directLink', '/s/{token}/preview')->g throw new \OC\HintException('App file sharing is not enabled'); } }); - -// used for heartbeat -$this->create('heartbeat', '/heartbeat')->action(function(){ - // do nothing -}); |