Update web routes

This commit is contained in:
Daniel Supernault 2019-09-26 18:34:29 -06:00
parent cf3405d852
commit ae8f688770
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -116,7 +116,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::post('accounts/{id}/unmute', 'Api\ApiV1Controller@accountUnmuteById')->middleware('auth:api');
Route::get('notifications', 'Api\ApiV1Controller@accountNotifications')->middleware('auth:api');
Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome');
Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome')->middleware('auth:api');
// Route::get('likes', 'ApiController@hydrateLikes');
// Route::post('media', 'ApiController@uploadMedia')->middleware('auth:api');
@ -124,7 +124,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
// Route::get('notifications', 'ApiController@notifications')->middleware('auth:api');
// Route::get('timelines/public', 'PublicApiController@publicTimelineApi');
// Route::post('status', 'Api\ApiV1Controller@createStatus')->middleware('auth:api');
Route::get('accounts/{id}', 'Api\ApiV1Controller@accountById');
Route::get('accounts/{id}', 'Api\ApiV1Controller@accountById')->middleware('auth:api');
});
Route::group(['prefix' => 'v2'], function() {
Route::get('config', 'ApiController@siteConfiguration');