From: Philipp Holzer Date: Sun, 19 May 2019 01:05:21 +0000 (+0200) Subject: change route X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=725984eb08cb5b57dd0fc436b845a3e81c93d46e;p=friendica.git change route --- diff --git a/src/App/Router.php b/src/App/Router.php index 7e4c35ff01..8d61645394 100644 --- a/src/App/Router.php +++ b/src/App/Router.php @@ -202,7 +202,7 @@ class Router $this->routeCollector->addRoute(['GET'], '/smilies[/json]', Module\Smilies::class); $this->routeCollector->addRoute(['GET'], '/statistics.json', Module\Statistics::class); $this->routeCollector->addRoute(['GET'], '/tos', Module\Tos::class); - $this->routeCollector->addRoute(['GET'], '/view/theme/{theme:.+}', Module\Theme::class); + $this->routeCollector->addRoute(['GET'], '/view/theme/{theme}/style.pcss', Module\Theme::class); $this->routeCollector->addRoute(['GET'], '/viewsrc/{item:\d+}', Module\ItemBody::class); $this->routeCollector->addRoute(['GET'], '/webfinger', Module\WebFinger::class); $this->routeCollector->addRoute(['GET'], '/xrd', Module\Xrd::class);