Prechádzať zdrojové kódy

Use absolute URLs for jupyterlab's dev mode

Thanks to @manics' PR: https://github.com/jupyterhub/jupyter-server-proxy/pull/85
yuvipanda 6 rokov pred
rodič
commit
9dd2984f63

+ 4 - 2
binder/jupyter_notebook_config.py

@@ -3,11 +3,13 @@ c.ServerProxy.servers = {
         'command': [
             'jupyter',
             'lab',
+            '--debug',
             '--no-browser',
             '--port={port}',
             '--NotebookApp.token=""',
-            '--NotebookApp.base_url={base_url}lab-dev'
-        ]
+            '--NotebookApp.base_url={base_url}lab-dev',
+        ],
+        'absolute_url': True
     }
 }
 

+ 1 - 1
binder/requirements.txt

@@ -1 +1 @@
-jupyter-server-proxy==1.0beta8
+git+https://github.com/manics/jupyter-server-proxy@proxy-base-urls