File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -415,6 +415,9 @@ RUN export PIP_BREAK_SYSTEM_PACKAGES=1 \
415
415
nbclassic \
416
416
nbconvert \
417
417
python-lsp-server[all] \
418
+ # # Fix https://github.com/jupyterhub/jupyter-server-proxy/issues/445
419
+ && sed -i 's/subprotocols=self\. subprotocols/subprotocols=self\. subprotocols if self\. subprotocols else None/g' \
420
+ /usr/local/lib/python*/*-packages/jupyter_server_proxy/handlers.py \
418
421
# # Include custom fonts
419
422
&& 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 \
420
423
&& sed -i 's|</head>|<link rel="preload" href="{{page_config.fullStaticUrl}}/assets/fonts/MesloLGS-NF-Italic.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