diff --git a/routes/api.php b/routes/api.php index be5ee35d5..08eef6cad 100644 --- a/routes/api.php +++ b/routes/api.php @@ -78,4 +78,5 @@ Route::group(['prefix' => 'api'], function() use($middleware) { Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware(array_merge($middleware, ['throttle:maxStoryDeletePerDay,1440'])); Route::post('v1/viewed', 'StoryController@apiV1Viewed'); }); + Route::get('/api/v2/search', 'Api\ApiV1Controller@searchV2')->middlware($middleware); });