]> git.mxchange.org Git - friendica.git/commitdiff
header route fixed
authorMichael <heluecht@pirati.ca>
Fri, 19 Nov 2021 05:59:24 +0000 (05:59 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 19 Nov 2021 05:59:24 +0000 (05:59 +0000)
static/routes.config.php

index 468a9f85ea31501b7c8d7152e6d19d6c60c81021..e3ab6776101128e40e49acb2da6005917a74946e 100644 (file)
@@ -474,6 +474,7 @@ return [
        '/photo' => [
                '/{name}'                                                  => [Module\Photo::class, [R::GET]],
                '/{type}/{id:\d+}'                                         => [Module\Photo::class, [R::GET]],
+               '/{type:contact|header}/{guid}'                            => [Module\Photo::class, [R::GET]],
                // User Id Fallback, to remove after version 2021.12
                '/{type}/{uid_ext:\d+\..*}'                                => [Module\Photo::class, [R::GET]],
                '/{type}/{nickname_ext}'                                   => [Module\Photo::class, [R::GET]],