-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move CORS handling from platform.sh to app
Platform.sh intends it to be this way. The reason this does not work was a misconfigured Laravel CORS package with the wrong path set. Drop the previous attempt to do CORS in platform.sh and fix the CORS path configuration to cover all requests.
- Loading branch information
Showing
2 changed files
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
| | ||
*/ | ||
|
||
'paths' => ['api/*', 'sanctum/csrf-cookie'], | ||
'paths' => ['/*'], | ||
|
||
'allowed_methods' => ['*'], | ||
|
||
|