From ed0b300113b7cce780d3beaf102537469c6b5bba Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 6 Aug 2021 04:01:26 +0000 Subject: [PATCH] Fix update_network for forums --- static/routes.config.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/routes.config.php b/static/routes.config.php index d42d5cfbb..ac4ec5391 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -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]],