mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update web routes
This commit is contained in:
parent
69f745f0c0
commit
83f69409d6
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
|
|
||||||
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:10,5');
|
||||||
Route::get('not-interested', 'ReportController@notInterestedForm')->name('report.not-interested');
|
Route::get('not-interested', 'ReportController@notInterestedForm')->name('report.not-interested');
|
||||||
Route::get('spam', 'ReportController@spamForm')->name('report.spam');
|
Route::get('spam', 'ReportController@spamForm')->name('report.spam');
|
||||||
Route::get('spam/comment', 'ReportController@spamCommentForm')->name('report.spam.comment');
|
Route::get('spam/comment', 'ReportController@spamCommentForm')->name('report.spam.comment');
|
||||||
|
@ -120,7 +120,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
->name('settings');
|
->name('settings');
|
||||||
Route::post('home', 'SettingsController@homeUpdate')->middleware('throttle:250,1440');
|
Route::post('home', 'SettingsController@homeUpdate')->middleware('throttle:250,1440');
|
||||||
Route::get('avatar', 'SettingsController@avatar')->name('settings.avatar');
|
Route::get('avatar', 'SettingsController@avatar')->name('settings.avatar');
|
||||||
Route::post('avatar', 'AvatarController@store')->middleware('throttle:50,1440');
|
Route::post('avatar', 'AvatarController@store');
|
||||||
Route::get('password', 'SettingsController@password')->name('settings.password')->middleware('dangerzone');
|
Route::get('password', 'SettingsController@password')->name('settings.password')->middleware('dangerzone');
|
||||||
Route::post('password', 'SettingsController@passwordUpdate')->middleware(['throttle:2,1440','dangerzone']);
|
Route::post('password', 'SettingsController@passwordUpdate')->middleware(['throttle:2,1440','dangerzone']);
|
||||||
Route::get('email', 'SettingsController@email')->name('settings.email');
|
Route::get('email', 'SettingsController@email')->name('settings.email');
|
||||||
|
|
Loading…
Reference in a new issue