Update web routes, redirect /home to /

This commit is contained in:
Daniel Supernault 2022-11-13 22:30:04 -07:00
parent 94697d536b
commit 970329975a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -135,6 +135,7 @@ Route::domain(config('portfolio.domain'))->group(function () {
Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofactor', 'localization'])->group(function () {
Route::get('/', 'SiteController@home')->name('timeline.personal');
Route::redirect('/home', '/');
Auth::routes();