Skip to content

Commit

Permalink
[#1944] Add CORS settings to deployment template.
Browse files Browse the repository at this point in the history
These are commented out by default.
  • Loading branch information
brew committed Oct 28, 2014
1 parent 78a331a commit 0d97844
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ckan/config/deployment.ini_tmpl
Expand Up @@ -78,6 +78,15 @@ ckan.site_id = default
#ckan.simple_search = 1


## CORS Settings

# If cors.origin_allow_all is true, all origins are allowed.
# If false, the cors.origin_whitelist is used.
# ckan.cors.origin_allow_all = true
# cors.origin_whitelist is a space separated list of allowed domains.
# ckan.cors.origin_whitelist = http://example1.com http://example2.com


## Plugins Settings

# Note: Add ``datastore`` to enable the CKAN DataStore
Expand Down

0 comments on commit 0d97844

Please sign in to comment.