File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ RUN export PIP_BREAK_SYSTEM_PACKAGES=1 \
249
249
nbconvert \
250
250
python-lsp-server[all] \
251
251
# # Fix https://github.com/jupyterhub/jupyter-server-proxy/issues/445
252
- && sed -i 's/subprotocols=self\. subprotocols/subprotocols=self\. selected_subprotocol /g' \
252
+ && sed -i 's/subprotocols=self\. subprotocols/subprotocols=self\. subprotocols if self \. subprotocols else None /g' \
253
253
/usr/local/lib/python*/*-packages/jupyter_server_proxy/handlers.py \
254
254
# # Include custom fonts
255
255
&& sed -i 's|</head>|<link rel="preload" href="{{page_config.fullStaticUrl}}/assets/fonts/MesloLGS-NF-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"></head>|g' /usr/local/share/jupyter/lab/static/index.html \
You can’t perform that action at this time.
0 commit comments