Merge pull request #12385 from deepshekhardas/fix/graphql-cors-headers

fix(graphql): add missing CORS headers to successful responses
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2026-06-26 20:52:45 +04:00
commit 879ba114a3
1 file changed
+1 -1
+1 -1
View File
@@ -988,7 +988,7 @@ Http::init()
* @see https://www.owasp.org/index.php/List_of_useful_HTTP_headers
*/
Http::init()
->groups(['api', 'web'])
->groups(['api', 'web', 'graphql'])
->inject('request')
->inject('response')
->inject('cors')