forked from mirror/pixelfed
Update routes
This commit is contained in:
parent
89ca18b14e
commit
c176f8cc11
|
@ -105,6 +105,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
|
||||||
Route::get('loops', 'DiscoverController@loopsApi');
|
Route::get('loops', 'DiscoverController@loopsApi');
|
||||||
Route::post('loops/watch', 'DiscoverController@loopWatch');
|
Route::post('loops/watch', 'DiscoverController@loopWatch');
|
||||||
Route::get('discover/tag', 'DiscoverController@getHashtags');
|
Route::get('discover/tag', 'DiscoverController@getHashtags');
|
||||||
|
Route::post('status/compose', 'InternalApiController@composePost')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
|
||||||
});
|
});
|
||||||
Route::group(['prefix' => 'local'], function () {
|
Route::group(['prefix' => 'local'], function () {
|
||||||
Route::post('status/compose', 'InternalApiController@composePost')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
|
Route::post('status/compose', 'InternalApiController@composePost')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
|
||||||
|
|
Loading…
Reference in New Issue