aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/homepage.php
diff options
context:
space:
mode:
authorwinter2024-12-23 22:26:46 +0000
committerwinter2024-12-23 22:26:46 +0000
commitaafbcc8fc1a07872fffa4d669117f41148e509a8 (patch)
tree0db483fc6883be0049590f612be8de9b025d2ab7 /routes/homepage.php
parent916d4521cb595493bc5df8b7f9ef52310b6d013a (diff)
rename "user" to actor and "post" to note everywhere
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