Skip to content

Commit 129c8f1

Browse files
Beacon CORS flag (#28)
1 parent f989714 commit 129c8f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

beacon-chain/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ FLAGS="--network=$NETWORK \
5555
--metrics-port=8008 \
5656
--jwt-secret=$JWT_FILE_PATH \
5757
--web3-url=$ENGINE_URL \
58+
--rest-allow-origin=$CORS \
5859
--suggested-fee-recipient=$VALID_FEE_RECIPIENT $MEVBOOST_FLAG $EXTRA_OPTS"
5960

6061
echo "[INFO - entrypoint] Starting beacon with flags: $FLAGS"

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
LOG_TYPE: INFO
1818
FEE_RECIPIENT_ADDRESS: ""
1919
CHECKPOINT_SYNC_URL: ""
20+
CORS: "*"
2021
EXTRA_OPTS: ""
2122
volumes:
2223
- nimbus-data:/home/user/nimbus-eth2/build/data

0 commit comments

Comments
 (0)