소스 검색

Update web routes

Daniel Supernault 6 년 전
부모
커밋
0522c80f5c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      routes/web.php

+ 2 - 0
routes/web.php

@@ -50,6 +50,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
             Route::get('discover/posts', 'InternalApiController@discoverPosts');
             Route::get('profile/{username}/status/{postid}', 'PublicApiController@status');
             Route::get('comments/{username}/status/{postId}', 'PublicApiController@statusComments');
+            Route::get('likes/profile/{username}/status/{id}', 'PublicApiController@statusLikes');
+            Route::get('shares/profile/{username}/status/{id}', 'PublicApiController@statusShares');
         });
         Route::group(['prefix' => 'local'], function () {
             Route::get('i/follow-suggestions', 'ApiController@followSuggestions');