Skip to content

Commit

Permalink
Still working on the key
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckinghamAJ committed May 20, 2024
1 parent 2d2ebe7 commit 657d201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/copy_certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ elif [ "$NODE_ENV" = "staging" ]; then
cp /opt/api/certs/staging/* /opt/api/server/certs/
else
if [[ -v LOGIN_PRIVATE_KEY ]]; then
echo $LOGIN_PRIVATE_KEY > /opt/api/server/certs/private.pem
echo "$LOGIN_PRIVATE_KEY" > /opt/api/server/certs/private.pem
chmod 600 /opt/api/server/certs/private.pem
fi
cp /opt/api/certs/dev/* /opt/api/server/certs/
fi
Expand Down

0 comments on commit 657d201

Please sign in to comment.