Browse Source

MNT: Add fields for hub config info in JSON blob.

danielballan 8 years ago
parent
commit
df30cfd26c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      jupyterlab/lab.html

+ 2 - 0
jupyterlab/lab.html

@@ -17,6 +17,8 @@ Distributed under the terms of the Modified BSD License.
 
   <script id='jupyter-config-data' type="application/json">{
   "baseUrl": "{{base_url | urlencode}}",
+  "hubHost": "{{hub_host | urlencode}}",
+  "hubPrefix": "{{hub_prefix | urlencode}}",
   "wsUrl": "{{ws_url| urlencode}}",
   "notebookPath": "{{notebook_path | urlencode}}"
   }</script>