mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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---*/
|
/*---Hardware API---*/
|
||||||
Route::group([ 'prefix' => 'hardware','middleware' => ['web','auth','authorize:assets.view']], function () {
|
Route::group([ 'prefix' => 'hardware','middleware' => ['web','auth','authorize:assets.view']], function () {
|
||||||
|
|
Loading…
Reference in a new issue