From ace2255e4f3a70738d02a1681012f80e2d49e457 Mon Sep 17 00:00:00 2001 From: Syofyan Zuhad Date: Mon, 3 Jan 2022 10:41:22 +0700 Subject: [PATCH] Update route.php --- src/route.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/route.php b/src/route.php index 4b60451..5af5c80 100644 --- a/src/route.php +++ b/src/route.php @@ -23,12 +23,12 @@ if ($enable_api_upload) { Route::group(['middleware' => config('fileapi.middlewares', [])], function () { Route::post( - config('api_prifix', '/api/v1') . '/images/{target}/{param?}', + config('fileapi.api_prefix', '/api/v1') . '/images/{target}/{param?}', 'Unisharp\FileApi\Http\Controllers\Api\FileController@images' ); Route::post( - config('api_prifix', '/api/v1') . '/videos/{target}/{param?}', + config('fileapi.api_prefix', '/api/v1') . '/videos/{target}/{param?}', 'Unisharp\FileApi\Http\Controllers\Api\FileController@videos' ); });