ソースを参照

Update web routes

Daniel Supernault 6 年 前
コミット
110ec5cfcf
1 ファイル変更2 行追加1 行削除
  1. 2 1
      routes/web.php

+ 2 - 1
routes/web.php

@@ -108,7 +108,6 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
             Route::get('discover/tag', 'DiscoverController@getHashtags');
         });
         Route::group(['prefix' => 'local'], function () {
-            Route::get('i/follow-suggestions', 'ApiController@followSuggestions');
             Route::post('status/compose', 'InternalApiController@compose')->middleware('throttle:maxPostsPerHour,60')->middleware('throttle:maxPostsPerDay,1440');
             Route::get('exp/rec', 'ApiController@userRecommendations');
             Route::post('discover/tag/subscribe', 'HashtagFollowController@store')->middleware('throttle:maxHashtagFollowsPerHour,60')->middleware('throttle:maxHashtagFollowsPerDay,1440');;
@@ -176,6 +175,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
         });
 
         Route::get('collections/create', 'CollectionController@create');
+
+        Route::get('me', 'ProfileController@meRedirect');
     });
 
     Route::group(['prefix' => 'account'], function () {