From 9b78e23bd9f996e9417c1d5f7fd39ee76e8b909a Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Mon, 12 Aug 2019 14:43:18 -0400 Subject: [PATCH] Add new security headers. (#979) --- react-ui/scripts/deploy | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/react-ui/scripts/deploy b/react-ui/scripts/deploy index f03dbda0e2..22d95b9e07 100755 --- a/react-ui/scripts/deploy +++ b/react-ui/scripts/deploy @@ -9,19 +9,30 @@ export AWS_SECRET_ACCESS_KEY=$(curl ${AWS_CREDENTIALS_SECRET} | python3 -c 'impo # Grab app config and convert it to shell format curl "${APP_CONFIG_SECRET}" | python3 -c 'import json, sys; a = json.load(sys.stdin); [print("{}={}".format(k, v)) for k,v in a["secret"].items()]' > .env +HEADERS=$(cat <