mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update routes
This commit is contained in:
parent
89ca18b14e
commit
c176f8cc11
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue