Merge "Add CORS support to upload-logs-swift"
This commit is contained in:
commit
41d06378b0
@ -490,7 +490,8 @@ class Uploader():
|
|||||||
self.cloud.create_container(name=self.container, public=public)
|
self.cloud.create_container(name=self.container, public=public)
|
||||||
self.cloud.update_container(
|
self.cloud.update_container(
|
||||||
name=self.container,
|
name=self.container,
|
||||||
headers={'X-Container-Meta-Web-Index': 'index.html'})
|
headers={'X-Container-Meta-Web-Index': 'index.html',
|
||||||
|
'X-Container-Meta-Access-Control-Allow-Origin': '*'})
|
||||||
# 'X-Container-Meta-Web-Listings': 'true'
|
# 'X-Container-Meta-Web-Listings': 'true'
|
||||||
|
|
||||||
# The ceph radosgw swift implementation requires an
|
# The ceph radosgw swift implementation requires an
|
||||||
|
Loading…
x
Reference in New Issue
Block a user