add sets endpoint
This commit is contained in:
parent
a74bb853d4
commit
c4b95137e5
2 changed files with 37 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use App\Controllers\AuthController;
|
||||
use App\Controllers\SetController;
|
||||
use App\Http\Middleware\AuthMiddleware;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
|
|
@ -8,3 +9,4 @@ Route::post('/login', [AuthController::class, 'login']);
|
|||
Route::post('/logout', [AuthController::class, 'logout']);
|
||||
Route::get('/me', [AuthController::class, 'me'])
|
||||
->middleware(AuthMiddleware::class);
|
||||
Route::get('/sets', [SetController::class, 'index']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue