forked from mirror/pixelfed
Add localization middleware to web routes
This commit is contained in:
parent
d8ad6ddccb
commit
2095712ca5
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ Route::domain(config('pixelfed.domain.admin'))->prefix('i/admin')->group(functio
|
||||||
Route::get('media/list', 'AdminController@media')->name('admin.media');
|
Route::get('media/list', 'AdminController@media')->name('admin.media');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofactor'])->group(function () {
|
Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofactor', 'localization'])->group(function () {
|
||||||
Route::get('/', 'SiteController@home')->name('timeline.personal');
|
Route::get('/', 'SiteController@home')->name('timeline.personal');
|
||||||
Route::post('/', 'StatusController@store')->middleware('throttle:500,1440');
|
Route::post('/', 'StatusController@store')->middleware('throttle:500,1440');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue