mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 03:28:13 +08:00
Add a more consistent way to customize the eb deployment (#1446)
* Add a more consistent way to customize the eb deployment Plus a few minor bugfixes
This commit is contained in:
@@ -132,7 +132,7 @@ class AppConfig(object):
|
||||
del dc["adaptor"]["cxg_adaptor"]["tiledb_ctx"]
|
||||
|
||||
# special case for csp_directives whose value is a dict.
|
||||
val = config.get("server", {}).get("csp_directives", {})
|
||||
val = config.get("server", {}).get("csp_directives")
|
||||
if val is not None:
|
||||
mapping["server__csp_directives"] = (("server", "csp_directives"), val)
|
||||
del dc["server"]["csp_directives"]
|
||||
|
||||
Reference in New Issue
Block a user