0.2: restrict CORS allowed_origins to FRONTEND_URL
Deploy Backend / deploy (push) Has been cancelled
Deploy Backend / deploy (push) Has been cancelled
This commit is contained in:
1 parent
a5f76a3657
commit
7a5438db2c
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ return [
|
||||
|
||||
'allowed_methods' => ['*'],
|
||||
|
||||
'allowed_origins' => ['*'],
|
||||
'allowed_origins' => [env('FRONTEND_URL', 'https://parsaaghayi.ir')],
|
||||
|
||||
'allowed_origins_patterns' => [],
|
||||
|
||||
|
||||
Reference in new issue
Block a user