mock server, file and folder management
This commit is contained in:
@@ -40,8 +40,10 @@ def health():
|
||||
"env": settings.app_env,
|
||||
"api": {"version": "v1", "auth": "api-key-or-session"},
|
||||
"storage": {
|
||||
"endpoint": settings.s3_endpoint_url,
|
||||
"bucket": settings.s3_bucket,
|
||||
"region": settings.s3_region,
|
||||
"backend": settings.file_storage_backend,
|
||||
"local_root": settings.file_storage_local_root if settings.file_storage_backend == "local" else None,
|
||||
"endpoint": settings.file_storage_s3_endpoint_url or settings.s3_endpoint_url,
|
||||
"bucket": settings.file_storage_s3_bucket or settings.s3_bucket,
|
||||
"region": settings.file_storage_s3_region or settings.s3_region,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user