diff options
| author | winter | 2024-12-23 22:26:46 +0000 |
|---|---|---|
| committer | winter | 2024-12-23 22:26:46 +0000 |
| commit | aafbcc8fc1a07872fffa4d669117f41148e509a8 (patch) | |
| tree | 0db483fc6883be0049590f612be8de9b025d2ab7 /routes/homepage.php | |
| parent | 916d4521cb595493bc5df8b7f9ef52310b6d013a (diff) | |
rename "user" to actor and "post" to note everywhere
Diffstat (limited to 'routes/homepage.php')
| -rw-r--r-- | routes/homepage.php | 2 |
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 |
