mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Removed extra api in prefix, added v1
This commit is contained in:
parent
a8e09728a5
commit
112ee3c8ff
|
@ -16,7 +16,7 @@ use App\Models\Statuslabel;
|
|||
|
|
||||
*/
|
||||
|
||||
Route::group([ 'middleware' => 'auth:api' ], function () {
|
||||
Route::group(['prefix' => 'v1', 'middleware' => 'auth:api'], function () {
|
||||
|
||||
/*---Hardware API---*/
|
||||
Route::group([ 'prefix' => 'hardware','middleware' => ['web','auth','authorize:assets.view']], function () {
|
||||
|
|
Loading…
Reference in a new issue