add permissive CORS (for UI) and longer default TTL

This commit is contained in:
gmega 2024-10-04 20:05:27 -03:00
parent 856cd870f6
commit d4fcc89d9f
2 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,8 @@ chmod 0700 ${DATA_DIR}
--disc-port=8090 \
--listen-addrs=/ip4/0.0.0.0/tcp/8070 \
--bootstrap-node=${BOOTSPR} \
--api-cors-origin="*" \
--block-ttl=30d \
persistence \
--eth-private-key=eth.key \
--eth-provider=https://rpc.testnet.codex.storage

View File

@ -60,6 +60,8 @@ codex-%VERSION%-%OS%-%ARCH%.exe ^
--api-port=8080 ^
--disc-port=8090 ^
--listen-addrs=/ip4/0.0.0.0/tcp/8070 ^
--api-cors-origin="*" ^
--block-ttl=30d ^
--bootstrap-node=%BOOTSPR% ^
persistence ^
--eth-private-key=eth.key ^