Skip to content

Commit

Permalink
Merge pull request #95 from paritytech/fix-http-endpoint
Browse files Browse the repository at this point in the history
Fix http protocol prefix returned in node_http_endpoint
  • Loading branch information
PierreBesson authored Aug 29, 2023
2 parents c5de58f + 9458a36 commit 65659c0
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 65659c0

Please sign in to comment.