From 725984eb08cb5b57dd0fc436b845a3e81c93d46e Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 19 May 2019 03:05:21 +0200 Subject: [PATCH] change route --- src/App/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5