Skip to content

Commit

Permalink
Update security path
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimog01 committed Sep 1, 2023
1 parent 85a83e5 commit ee137f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions op-node/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ esac
case $L2_CLIENT in
"op-geth.dnp.dappnode.eth")
L2_ENGINE="http://op-geth.dappnode:8551"
JWT_PATH="/config/security/op-geth/jwtsecret.hex"
JWT_PATH="/security/op-geth/jwtsecret.hex"
;;
"op-erigon.dnp.dappnode.eth")
L2_ENGINE="http://op-erigon.dappnode:8551"
JWT_PATH="/config/security/op-erigon/jwtsecret.hex"
JWT_PATH="/security/op-erigon/jwtsecret.hex"
;;
*)
echo "Unknown value for L2_CLIENT: $L2_CLIENT"
L2_ENGINE=$L2_CLIENT
mkdir -p /config/security/user
echo $USER_JWT >/config/security/user/jwtsecret.hex
JWT_PATH="/config/security/user/jwtsecret.hex"
echo $USER_JWT >/security/user/jwtsecret.hex
JWT_PATH="/security/user/jwtsecret.hex"
;;
esac

Expand Down

0 comments on commit ee137f9

Please sign in to comment.