From beb69bbe7ba84420d72af9c992ef8bce0549332e Mon Sep 17 00:00:00 2001 From: Olivier Benz Date: Sun, 18 Feb 2024 11:45:24 +0100 Subject: [PATCH] base: Update latest Dockerfile - https://github.com/jupyterhub/jupyter-server-proxy/issues/445 --- base/latest.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \