bodhi2: Add the new CORS settings to our stg config
This commit is contained in:
parent
a85bcb088d
commit
6bc267aa49
1 changed files with 8 additions and 0 deletions
|
@ -355,6 +355,14 @@ openid.provider = https://id.stg.fedoraproject.org/openid/
|
|||
openid.url = https://id.stg.fedoraproject.org/
|
||||
openid_template = {username}.id.fedoraproject.org
|
||||
|
||||
# CORS allowed origins for cornice services
|
||||
# This can be wide-open. read-only, we don't care as much about.
|
||||
cors_origins_ro = *
|
||||
# This should be more locked down to avoid cross-site request forgery.
|
||||
cors_origins_rw = bodhi.stg.fedoraproject.org
|
||||
cors_connect_src = https://*.fedoraproject.org/ wss://hub.fedoraproject.org:9939/
|
||||
|
||||
|
||||
##
|
||||
## Pyramid settings
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue