mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #12385 from deepshekhardas/fix/graphql-cors-headers
fix(graphql): add missing CORS headers to successful responses
This commit is contained in:
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user