|
@@ -65,6 +65,7 @@ def load_config(nbapp):
|
|
|
config.themes_dir = ''
|
|
|
|
|
|
# shim for jupyterlab_server 0.3
|
|
|
+ # XXX remove after next JLab release (current is 1.0.0a6)
|
|
|
if static_url:
|
|
|
if hasattr(config, 'static_url'):
|
|
|
config.static_url = static_url
|
|
@@ -125,6 +126,7 @@ def load_jupyter_server_extension(nbapp):
|
|
|
config.app_namespace = 'jupyterlab'
|
|
|
|
|
|
# shim for jupyterlab_server 0.3
|
|
|
+ # XXX remove after next JLab release (current is 1.0.0a6)
|
|
|
if hasattr(config, 'app_url'):
|
|
|
config.app_url = '/lab'
|
|
|
else:
|