From a55edf6559cd053b404dd93c04ef63924eba159a Mon Sep 17 00:00:00 2001 From: David Lemayian Date: Fri, 31 Jan 2020 16:28:19 +0300 Subject: [PATCH] Allow cors --- ckan.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan.ini b/ckan.ini index d24a98c..ea866d2 100755 --- a/ckan.ini +++ b/ckan.ini @@ -89,7 +89,7 @@ ckan.site_id = default # 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 +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 @@ -101,7 +101,7 @@ ckan.site_id = default # Add ``resource_proxy`` to enable resorce proxying and get around the # same origin policy -ckan.plugins = stats text_view image_view recline_view recline_grid_view gdoc_view harvest ckan_harvester s3filestore openafrica datarequests showcase datapusher datastore officedocs_view pdf_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface structured_data issues sentry envvars +ckan.plugins = stats text_view image_view recline_view recline_grid_view gdoc_view resource_proxy harvest ckan_harvester s3filestore openafrica datarequests showcase datapusher datastore officedocs_view pdf_view dcat dcat_rdf_harvester dcat_json_harvester dcat_json_interface structured_data issues sentry envvars # Define which views should be created by default # (plugins must be loaded in ckan.plugins)