Skip to content

Commit

Permalink
update cors.php (#144)
Browse files Browse the repository at this point in the history
Co-authored-by: trungpv <[email protected]>
  • Loading branch information
trungpv1601 and trungpv authored Mar 19, 2022
1 parent 72c75a4 commit da73c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/api/config/cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

'allowed_methods' => ['*'],

'allowed_origins' => [env('FRONTEND_URL')],
'allowed_origins' => [env('FRONTEND_URL', 'http://localhost:3000')],

'allowed_origins_patterns' => [],

Expand Down

0 comments on commit da73c94

Please sign in to comment.