test
This commit is contained in:
1 parent
7f64c80b77
commit
ae5a159d31
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ return [
|
|||||||
|
|
||||||
'allowed_methods' => ['*'],
|
'allowed_methods' => ['*'],
|
||||||
|
|
||||||
'allowed_origins' => ['http://localhost:5173'],
|
'allowed_origins' => ['*'],
|
||||||
|
|
||||||
'allowed_origins_patterns' => [],
|
'allowed_origins_patterns' => [],
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -16,12 +16,12 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
|
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
|
||||||
'%s,%s',
|
'%s%s',
|
||||||
'localhost,localhost:5173,127.0.0.1,127.0.0.1:8000,::1',
|
'localhost,localhost:5173,127.0.0.1,127.0.0.1:8000,::1',
|
||||||
Sanctum::currentApplicationUrlWithPort(),
|
Sanctum::currentApplicationUrlWithPort(),
|
||||||
|
// Sanctum::currentRequestHost(),
|
||||||
))),
|
))),
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Sanctum Guards
|
| Sanctum Guards
|
||||||
|
|||||||
Reference in new issue
Block a user