From 5452c02979b17f9204f66ba5afb37db1868dd0d6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 18 Jul 2020 17:51:10 -0600 Subject: [PATCH] Update web routes --- routes/web.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/web.php b/routes/web.php index 79f40a83c..e579d3164 100644 --- a/routes/web.php +++ b/routes/web.php @@ -186,6 +186,8 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact Route::post('compose/media/update/{id}', 'MediaController@composeUpdate')->middleware('throttle:maxComposeMediaUpdatesPerHour,60')->middleware('throttle:maxComposeMediaUpdatesPerDay,1440')->middleware('throttle:maxComposeMediaUpdatesPerMonth,43800'); Route::get('compose/location/search', 'ApiController@composeLocationSearch'); + Route::get('compose/tag/search', 'MediaTagController@usernameLookup'); + }); Route::group(['prefix' => 'admin'], function () { Route::post('moderate', 'Api\AdminApiController@moderate');