add me endpoint
This commit is contained in:
parent
b705d49aa1
commit
c0d0d070a8
5 changed files with 56 additions and 0 deletions
9
backend/routes/api.php
Normal file
9
backend/routes/api.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
use App\Http\Controllers\AuthController;
|
||||
use App\Http\Middleware\AuthMiddleware;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::middleware(AuthMiddleware::class)->group(function (): void {
|
||||
Route::get('/me', [AuthController::class, 'me']);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue