feat: mobile regist and login

This commit is contained in:
2026-05-22 16:35:07 +02:00
parent 9fe51e8064
commit 055ebbf658
9 changed files with 248 additions and 88 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ return [
'allowed_methods' => ['*'],
'allowed_origins' => ['http://localhost:8081'],
'allowed_origins' => [],
'allowed_origins_patterns' => [],
+3 -3
View File
@@ -16,10 +16,10 @@ return [
*/
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
'%s%s%s',
'localhost,localhost:3000,localhost:8081,localhost:8082,127.0.0.1,127.0.0.1:8000,127.0.0.1:8081,127.0.0.1:8082,::1',
Sanctum::currentApplicationUrlWithPort(),
// Sanctum::currentRequestHost(),
Sanctum::currentRequestHost(),
))),
/*