From 9516eb33bc8d7cb8cc688659f0a8806932c60a7a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 8 Jul 2019 22:04:17 -0600 Subject: [PATCH] Update web routes --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 48e26387a..f94072f89 100644 --- a/routes/web.php +++ b/routes/web.php @@ -112,7 +112,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::get('i/follow-suggestions', 'ApiController@followSuggestions'); Route::post('status/compose', 'InternalApiController@compose')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440'); Route::get('exp/rec', 'ApiController@userRecommendations'); - Route::post('discover/tag/subscribe', 'HashtagFollowController@store'); + Route::post('discover/tag/subscribe', 'HashtagFollowController@store')->middleware('throttle:maxHashtagFollowsPerHour,60')->middleware('throttle:maxHashtagFollowsPerDay,1440');; + Route::get('discover/tag/list', 'HashtagFollowController@getTags'); }); });