1
0
Fork 0
forked from mirror/pixelfed

Update web routes, add hashtag subscribe route

This commit is contained in:
Daniel Supernault 2019-07-07 23:50:20 -06:00
parent 84cd4f1b57
commit 61c6d330a5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -112,6 +112,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::get('i/follow-suggestions', 'ApiController@followSuggestions'); Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
Route::post('status/compose', 'InternalApiController@compose')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440'); Route::post('status/compose', 'InternalApiController@compose')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
Route::get('exp/rec', 'ApiController@userRecommendations'); Route::get('exp/rec', 'ApiController@userRecommendations');
Route::post('discover/tag/subscribe', 'HashtagFollowController@store');
}); });
}); });