Skip to content

Commit

Permalink
Support having different WS and HTTP urls
Browse files Browse the repository at this point in the history
  • Loading branch information
snowch authored Dec 1, 2017
1 parent 49b4523 commit f3296d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nb2kg/nb2kg/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(self):
@gen.coroutine
def _connect(self, kernel_id):
ws_url = url_path_join(
KG_URL.replace('http', 'ws'),
os.getenv('KG_WS_URL', KG_URL.replace('http', 'ws')),
'/api/kernels',
url_escape(kernel_id),
'channels'
Expand Down

0 comments on commit f3296d5

Please sign in to comment.