Skip to content

Commit

Permalink
fix http protocol prefix returned in node_http_endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Aug 29, 2023
1 parent c5de58f commit 9458a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/network_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def node_http_endpoint(node_name):
return node_http_pattern.replace("NODE_NAME", node_name)
else:
node_http_pattern = get_var_from_env('RPC_NODE_URL_PATTERN')
return f'ws://{node_http_pattern.replace("NODE_NAME", node_name)}'
return f'http://{node_http_pattern.replace("NODE_NAME", node_name)}'

# Retain WS endpoint until HTTP RPC is completely removed
def node_ws_endpoint(node_name):
Expand Down

0 comments on commit 9458a36

Please sign in to comment.