Use mappath instead of indexpage

https://github.com/jupyterhub/jupyter-server-proxy/pull/151
This commit is contained in:
Simon Li 2019-10-02 14:53:46 +01:00
parent 00e524788c
commit 7867e330cf
No known key found for this signature in database
GPG Key ID: F604A75EB0CBF584
2 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,8 @@ RUN curl -sSfL 'https://bintray.com/tigervnc/stable/download_file?file_path=tige
USER jovyan
# Custom jupyter-server-proxy to load vnc_lite.html instead of /
RUN /opt/conda/bin/pip install https://github.com/manics/jupyter-server-proxy/archive/indexpage.zip
# https://github.com/jupyterhub/jupyter-server-proxy/pull/151
RUN /opt/conda/bin/pip install https://github.com/manics/jupyter-server-proxy/archive/1f22ccf44abd7ab5f7b306d57b6adb1dc3190e8b.zip
RUN conda install -y -q -c manics websockify=0.9.0
ADD jupyter_notebook_config.py /home/jovyan/.jupyter/jupyter_notebook_config.py

View File

@ -30,6 +30,6 @@ c.ServerProxy.servers = {
'absolute_url': False,
'port': 5901,
'timeout': 30,
'indexpage': 'vnc_lite.html',
'mappath': {'/': '/vnc_lite.html'},
}
}