diff --git a/base/latest.Dockerfile b/base/latest.Dockerfile index 776f2b7..ace8dfb 100644 --- a/base/latest.Dockerfile +++ b/base/latest.Dockerfile @@ -242,7 +242,7 @@ RUN export PIP_BREAK_SYSTEM_PACKAGES=1 \ nbconvert \ python-lsp-server[all] \ ## Fix https://github.com/jupyterhub/jupyter-server-proxy/issues/445 - && sed -i 's/subprotocols=self\.subprotocols/subprotocols=self\.selected_subprotocol/g' \ + && sed -i 's/subprotocols=self\.subprotocols/subprotocols=self\.subprotocols if self\.subprotocols else None/g' \ /usr/local/lib/python*/*-packages/jupyter_server_proxy/handlers.py \ ## Include custom fonts && sed -i 's|||g' /usr/local/share/jupyter/lab/static/index.html \