We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e67796 commit 7672e03Copy full SHA for 7672e03
admin/core/endpoints.py
@@ -187,10 +187,10 @@ def get_schain_endpoint(schain_name, ws=False):
187
endpoints = endpoints_for_schain(schains_internal_contract, nodes_contract, schain_id)
188
for node in endpoints['nodes']:
189
if ws:
190
- endpoint = (node['ws_domain'] if HTTP_ENDPOINT == 'true'
+ endpoint = (node['ws_endpoint'] if HTTP_ENDPOINT == 'true'
191
else node['wss_endpoint_domain'])
192
else:
193
- endpoint = (node['http_domain'] if HTTP_ENDPOINT == 'true'
+ endpoint = (node['http_endpoint'] if HTTP_ENDPOINT == 'true'
194
else node['https_endpoint_domain'])
195
if check_endpoint(endpoint, ws):
196
return endpoint
0 commit comments