refactor: dynamicize jumphost credentials from database and restrict CORS allowed origins
This commit is contained in:
+6
-1
@@ -18,7 +18,12 @@ return [
|
||||
|
||||
'allowed_methods' => ['*'],
|
||||
|
||||
'allowed_origins' => ['*'],
|
||||
'allowed_origins' => [
|
||||
'http://localhost:3000',
|
||||
'http://localhost:5173',
|
||||
'http://localhost:5174',
|
||||
'https://portal.tgs.com.vn',
|
||||
],
|
||||
|
||||
'allowed_origins_patterns' => [],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user