]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Measures against several warnings and errors in the log
[friendica.git] / static / routes.config.php
index dc1f97b68711f190b820411f7217b0657bd68093..276bbc7c874a946f8fab3daee321b92a4daf2ffd 100644 (file)
@@ -94,6 +94,7 @@ $apiRoutes = [
                '/group_update[.{extension:json|xml|rss|atom}]'            => [Module\Api\Friendica\Group\Update::class,           [        R::POST]],
                '/profile/show[.{extension:json|xml|rss|atom}]'            => [Module\Api\Friendica\Profile\Show::class,           [R::GET         ]],
                '/photoalbums[.{extension:json|xml|rss|atom}]'             => [Module\Api\Friendica\Photoalbum\Index::class,       [R::GET         ]],
+               '/photoalbum[.{extension:json|xml|rss|atom}]'              => [Module\Api\Friendica\Photoalbum\Show::class,        [R::GET         ]],
                '/photoalbum/delete[.{extension:json|xml|rss|atom}]'       => [Module\Api\Friendica\Photoalbum\Delete::class,      [        R::POST]],
                '/photoalbum/update[.{extension:json|xml|rss|atom}]'       => [Module\Api\Friendica\Photoalbum\Update::class,      [        R::POST]],
                '/photos/list[.{extension:json|xml|rss|atom}]'             => [Module\Api\Friendica\Photo\Lists::class,            [R::GET         ]],
@@ -319,7 +320,7 @@ return [
                '/proofs'                                => [Module\Api\Mastodon\Proofs::class,        [R::GET         ]], // Dummy, not supported
        ],
 
-       '/about[/more]'                              => [Module\Friendica::class, [R::GET]],
+       '/about[/more]'                              => [Module\About::class, [R::GET]],
 
        '/admin'               => [
                '[/]' => [Module\Admin\Summary::class, [R::GET]],