diff --git a/src/Module/About.php b/src/Module/About.php new file mode 100644 index 0000000000..dd58450fb3 --- /dev/null +++ b/src/Module/About.php @@ -0,0 +1,35 @@ +. + * + */ + +namespace Friendica\Module; + +use Friendica\BaseModule; + +/** + * Redirect to the friendica page + */ +class About extends BaseModule +{ + protected function rawContent(array $request = []) + { + $this->baseUrl->redirect('friendica'); + } +} diff --git a/static/routes.config.php b/static/routes.config.php index e3c87f1502..70d230c2a2 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -318,7 +318,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]],