]> git.mxchange.org Git - friendica.git/commitdiff
Fix update_network for forums
authorMichael <heluecht@pirati.ca>
Fri, 6 Aug 2021 04:01:26 +0000 (04:01 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 6 Aug 2021 04:01:26 +0000 (04:01 +0000)
static/routes.config.php

index d42d5cfbbfa460370a22b59920ba89b57ecdb87b..ac4ec53917c161647206763d6156a7db16ae329e 100644 (file)
@@ -436,7 +436,14 @@ return [
        '/tos'                           => [Module\Tos::class,                   [R::GET]],
 
        '/update_community[/{content}]'  => [Module\Update\Community::class,      [R::GET]],
-       '/update_network'                => [Module\Update\Network::class,        [R::GET]],
+
+       '/update_network' => [
+               '[/]'                        => [Module\Update\Network::class, [R::GET]],
+               '/archive/{from:\d\d\d\d-\d\d-\d\d}[/{to:\d\d\d\d-\d\d-\d\d}]' => [Module\Update\Network::class, [R::GET]],
+               '/forum/{contact_id:\d+}'    => [Module\Update\Network::class, [R::GET]],
+               '/group/{group_id:\d+}'      => [Module\Update\Network::class, [R::GET]],
+       ],
+
        '/update_profile'                => [Module\Update\Profile::class,        [R::GET]],
 
        '/view/theme/{theme}/style.pcss' => [Module\Theme::class,                 [R::GET]],