Skip to content

Commit 19e52f7

Browse files
committed
change path profile info
1 parent 5af60ec commit 19e52f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// 'middleware' => ['api', 'auth:sanctum'],
1616

17-
// 'path' => 'user',
17+
// 'path' => '/api/user',
1818
// ],
1919
// ],
2020
];

routes/routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
->name('password.reset');
2626

2727
Route::get(
28-
config('auth_spa.http.profile_info.path', 'user'),
28+
config('auth_spa.http.profile_info.path', 'api/user'),
2929
config('auth_spa.http.profile_info.controller', ProfileInfoController::class)
3030
)
3131
->middleware(config('auth_spa.http.profile_info.middleware', ['api', 'auth:sanctum']))

0 commit comments

Comments
 (0)