Created
May 12, 2022 15:19
-
-
Save lighth7015/6510ef59768ad7562a5e9cda859878fa to your computer and use it in GitHub Desktop.
config/cors.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ------------------------------------------------------------------------------------ | |
* Cross-Origin Resource Sharing (CORS) Configuration | |
* ------------------------------------------------------------------------------------ | |
* | |
* Here you may configure your settings for cross-origin resource sharing or CORS. This | |
* determines what cross-origin operations may execute in web browsers. You are free to | |
* adjust these settings as needed. | |
* | |
* To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS | |
*/ | |
return array( | |
'paths' => array( 'api/*', 'sanctum/csrf-cookie' ), | |
'allowed_methods' => array('*'), | |
'allowed_origins' => array('*', 'http://sso.myrxportal.devel:443'), | |
'allowed_origins_patterns' => array(), | |
'allowed_headers' => array('*'), | |
'exposed_headers' => array(), | |
'max_age' => 0, | |
'supports_credentials' => true | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment