Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Add comment about custom client http header in Access-Control-Allow-H…
Browse files Browse the repository at this point in the history
…eaders.
  • Loading branch information
timoxley committed Apr 1, 2020
1 parent 03acfe3 commit 2616eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grails-app/conf/Config.groovy
Expand Up @@ -188,7 +188,7 @@ environments {
* API & CORS config
*/
cors.url.pattern = ['/api/*', '/contact/send', '/profile/*', '/logout/*', '/login/*', '/j_spring_security_check', '/canvas', '/logout', '/j_spring_security_logout']
cors.headers = ['Access-Control-Allow-Headers': 'origin, authorization, accept, content-type, x-requested-with, Streamr-Client']
cors.headers = ['Access-Control-Allow-Headers': 'origin, authorization, accept, content-type, x-requested-with, Streamr-Client'] // allow custom Streamr-Client header in CORS requests

streamr.apiKey.revokeNotificationStream = "revoked-api-keys"

Expand Down

0 comments on commit 2616eb2

Please sign in to comment.