hasadna / datacity-k8s

1 stars 0 forks source link

Set CORS on CKAN Storage buckets #113

Closed akariv closed 3 years ago

akariv commented 3 years ago

e.g. gsutil cors set cors-config.json gs://datacity-kfar-saba

to allow geo previews of geojson files to work properly.

(do this on newly created buckets)

cors-config.json:

[{"origin": ["*"],"responseHeader": ["*"],"method": ["GET", "HEAD", "OPTIONS"],"maxAgeSeconds": 3600}]