mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Updaet web routes
This commit is contained in:
parent
499ea8b23b
commit
968fb9dba1
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('auth/checkpoint', 'AccountController@twoFactorCheckpoint');
|
Route::get('auth/checkpoint', 'AccountController@twoFactorCheckpoint');
|
||||||
Route::post('auth/checkpoint', 'AccountController@twoFactorVerify');
|
Route::post('auth/checkpoint', 'AccountController@twoFactorVerify');
|
||||||
|
|
||||||
|
Route::get('media/preview/{profileId}/{mediaId}', 'ApiController@showTempMedia')->name('temp-media');
|
||||||
|
|
||||||
|
|
||||||
Route::group(['prefix' => 'report'], function () {
|
Route::group(['prefix' => 'report'], function () {
|
||||||
Route::get('/', 'ReportController@showForm')->name('report.form');
|
Route::get('/', 'ReportController@showForm')->name('report.form');
|
||||||
Route::post('/', 'ReportController@formStore')->middleware('throttle:100,1440');
|
Route::post('/', 'ReportController@formStore')->middleware('throttle:100,1440');
|
||||||
|
|
Loading…
Reference in a new issue