1
0
Fork 0
forked from mirror/pixelfed

Add web routes

This commit is contained in:
Daniel Supernault 2019-04-28 17:02:49 -06:00
parent c6308912cd
commit b2563057bc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -99,6 +99,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::group(['prefix' => 'local'], function () {
Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
Route::post('status/compose', 'InternalApiController@compose');
Route::get('exp/rec', 'ApiController@userRecommendations');
});
});
@ -231,6 +232,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('data-export/account', 'SettingsController@exportAccount')->middleware('dangerzone');
Route::post('data-export/statuses', 'SettingsController@exportStatuses')->middleware('dangerzone');
Route::get('developers', 'SettingsController@developers')->name('settings.developers')->middleware('dangerzone');
Route::get('labs', 'SettingsController@labs')->name('settings.labs');
Route::post('labs', 'SettingsController@labsStore');
});
Route::group(['prefix' => 'site'], function () {