]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Diaspora added to localprobe
[friendica.git] / static / routes.config.php
index b4ce8f79ed6d92e53712a2eace2b02834f64f2a9..e3c87f1502e896ad54a2a24d2ff364777c431567 100644 (file)
@@ -35,7 +35,7 @@ $profileRoutes = [
        '/contacts/common'                         => [Module\Profile\Common::class,       [R::GET]],
        '/contacts[/{type}]'                       => [Module\Profile\Contacts::class,     [R::GET]],
        '/media'                                   => [Module\Profile\Media::class,        [R::GET]],
-       '/photos'                                  => [Module\Profile\Photos::class,       [R::GET         ]],
+       '/photos'                                  => [Module\Profile\Photos::class,       [R::GET, R::POST]],
        '/profile'                                 => [Module\Profile\Profile::class,      [R::GET]],
        '/remote_follow'                           => [Module\Profile\RemoteFollow::class, [R::GET, R::POST]],
        '/restricted'                              => [Module\Profile\Restricted::class,   [R::GET         ]],
@@ -318,6 +318,8 @@ return [
                '/proofs'                                => [Module\Api\Mastodon\Proofs::class,        [R::GET         ]], // Dummy, not supported
        ],
 
+       '/about[/more]'                              => [Module\Friendica::class, [R::GET]],
+
        '/admin'               => [
                '[/]' => [Module\Admin\Summary::class, [R::GET]],