aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/homepage.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/homepage.php')
-rw-r--r--routes/homepage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/homepage.php b/routes/homepage.php
index 94fe4c9..c147d67 100644
--- a/routes/homepage.php
+++ b/routes/homepage.php
@@ -6,7 +6,7 @@ use Digitigrade\Router;
Router::getInstance()->mount('/', function (array $args) {
if (str_contains($_SERVER['HTTP_ACCEPT'] ?? '', 'text/html')) {
- throw new TemporaryRedirect(path_to_uri('/feed/global'));
+ throw new TemporaryRedirect('/feed/global');
}
throw new NotFound();
}); \ No newline at end of file