This repository was archived by the owner on Mar 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ __core_configure_environment ()
179179 grep -q ' ^ARK_GRAPHQL_HOST' " $envFile " 2>&1 || echo ' ARK_GRAPHQL_HOST=0.0.0.0' >> " $envFile " 2>&1
180180 grep -q ' ^ARK_GRAPHQL_PORT' " $envFile " 2>&1 || echo ' ARK_GRAPHQL_PORT=4005' >> " $envFile " 2>&1
181181
182- grep -q ' ^ARK_JSONRPC_HOST ' " $envFile " 2>&1 || echo ' ARK_JSONRPC_HOST =0.0.0.0' >> " $envFile " 2>&1
183- grep -q ' ^ARK_JSONRPC_PORT ' " $envFile " 2>&1 || echo ' ARK_JSONRPC_PORT =8080' >> " $envFile " 2>&1
182+ grep -q ' ^ARK_JSON_RPC_HOST ' " $envFile " 2>&1 || echo ' ARK_JSON_RPC_HOST =0.0.0.0' >> " $envFile " 2>&1
183+ grep -q ' ^ARK_JSON_RPC_PORT ' " $envFile " 2>&1 || echo ' ARK_JSON_RPC_PORT =8080' >> " $envFile " 2>&1
184184
185185 success " Created Environment configuration!"
186186}
Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ core_configure_hosts_and_ports ()
7474 read -p " Would you like to configure the JSON-RPC API? [y/N] : " choice
7575
7676 if [[ " $choice " =~ ^(yes| y| Y) ]]; then
77- read -p " Enter the JSON-RPC host, or press ENTER for the default [${ARK_JSONRPC_HOST } ]: " inputHost
78- read -p " Enter the JSON-RPC port, or press ENTER for the default [${ARK_JSONRPC_PORT } ]: " inputPort
77+ read -p " Enter the JSON-RPC host, or press ENTER for the default [${ARK_JSON_RPC_HOST } ]: " inputHost
78+ read -p " Enter the JSON-RPC port, or press ENTER for the default [${ARK_JSON_RPC_PORT } ]: " inputPort
7979
8080 if [[ ! -z " $inputHost " ]]; then
81- sed -i -e " s/ARK_JSONRPC_HOST= $ARK_JSONRPC_HOST /ARK_JSONRPC_HOST =$inputHost /g" " $envFile "
81+ sed -i -e " s/ARK_JSON_RPC_HOST= $ARK_JSON_RPC_HOST /ARK_JSON_RPC_HOST =$inputHost /g" " $envFile "
8282 fi
8383
8484 if [[ ! -z " $inputPort " ]]; then
85- sed -i -e " s/ARK_JSONRPC_PORT= $ARK_JSONRPC_PORT /ARK_JSONRPC_PORT =$inputPort /g" " $envFile "
85+ sed -i -e " s/ARK_JSON_RPC_PORT= $ARK_JSON_RPC_PORT /ARK_JSON_RPC_PORT =$inputPort /g" " $envFile "
8686 fi
8787 fi
8888
You can’t perform that action at this time.
0 commit comments