From 6e13c5c116949aacf1a3b9649994c1317c4d3b54 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 22 Sep 2026 22:39:26 -0600 Subject: [PATCH] Add alias to horizon --- app/Util/Lexer/RestrictedNames.php | 3 +++ routes/web.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/app/Util/Lexer/RestrictedNames.php b/app/Util/Lexer/RestrictedNames.php index c2a32aac2..dc8f45425 100644 --- a/app/Util/Lexer/RestrictedNames.php +++ b/app/Util/Lexer/RestrictedNames.php @@ -99,6 +99,9 @@ class RestrictedNames 'mix-manifest.json', 'robots.txt', + // Horizon + 'horizon', + // Reserved routes 'a', 'app', diff --git a/routes/web.php b/routes/web.php index d4188fe96..b361ba3af 100644 --- a/routes/web.php +++ b/routes/web.php @@ -526,6 +526,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['localization'])->grou }); Route::get('g/{hid}', [GroupController::class, 'groupShortLinkRedirect']); + Route::redirect('/horizon', '/admin/horizon'); + Route::get('stories/{username}', [ProfileController::class, 'stories']); Route::get('p/{id}', [StatusController::class, 'shortcodeRedirect']); Route::get('c/{collection}', [CollectionController::class, 'show']);