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:
bmccandless
2020-05-04 09:52:03 -07:00
committed by GitHub
parent a17fff83cf
commit b255e32548
4 changed files with 54 additions and 36 deletions
+1 -1
View File
@@ -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"]