Have the config setup tool automatically prepare the S3 or GCS storage with CORS config
This commit is contained in:
parent
3a3945779d
commit
53e5fc6265
3 changed files with 62 additions and 5 deletions
|
@ -54,6 +54,10 @@ class BaseStorage(StoragePaths):
|
|||
# Set the IO buffer to 64kB
|
||||
buffer_size = 64 * 1024
|
||||
|
||||
def setup(self):
|
||||
""" Called to perform any storage system setup. """
|
||||
pass
|
||||
|
||||
def get_direct_download_url(self, path, expires_in=60, requires_cors=False):
|
||||
return None
|
||||
|
||||
|
|
Reference in a new issue